Fix Jor El Cam crash

This commit is contained in:
John Cote 2015-05-11 23:37:24 -04:00
parent 0c4d6feffa
commit 36e553a941
2 changed files with 2 additions and 4 deletions

View file

@ -44,11 +44,9 @@ 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
del base.cr.jorElHead
DistributedObject.disable(self)

View file

@ -16,9 +16,9 @@ class DistributedJorElCamAI(DistributedObjectAI):
DistributedObjectAI.generate(self)
def delete(self):
self.dna = None
del self.dna
DistributedObjectAI.delete(self)
def disable(self):
del self.dna
DistributedObjectAI.disable(self)