def destroy(self, simulation): if self.object_carried != None: self.object_carried.setCarriedByNone(self) Termite.destroy(self, simulation)