jor-el cleanup

This commit is contained in:
Zach 2015-05-12 12:49:33 -05:00
parent 8e8a194dfa
commit cfd7383ded
2 changed files with 3 additions and 2 deletions

View file

@ -44,9 +44,10 @@ class DistributedJorElCam(DistributedObject):
def delete(self):
self.head.removeNode()
self.head = None
del self.head
del base.cr.jorElHead
DistributedObject.delete(self)
def disable(self):
self.head.removeNode()
self.head = None
DistributedObject.disable(self)

View file

@ -17,8 +17,8 @@ class DistributedJorElCamAI(DistributedObjectAI):
def delete(self):
self.dna = None
del self.dna
DistributedObjectAI.delete(self)
def disable(self):
self.dna = None
DistributedObjectAI.disable(self)