mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-24 04:02:40 -06:00
Fix Jor El Cam crash
This commit is contained in:
parent
0c4d6feffa
commit
36e553a941
2 changed files with 2 additions and 4 deletions
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue