fixed jor el cam crash again don't revert pls k

This commit is contained in:
John Cote 2015-05-12 17:02:35 -04:00
parent 37fad887da
commit a402169eab
2 changed files with 1 additions and 3 deletions

View file

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

View file

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