mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2025-01-09 17:53:50 +00:00
jor-el cleanup
This commit is contained in:
parent
8e8a194dfa
commit
cfd7383ded
2 changed files with 3 additions and 2 deletions
|
@ -44,9 +44,10 @@ class DistributedJorElCam(DistributedObject):
|
||||||
def delete(self):
|
def delete(self):
|
||||||
self.head.removeNode()
|
self.head.removeNode()
|
||||||
self.head = None
|
self.head = None
|
||||||
del self.head
|
|
||||||
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 = None
|
||||||
DistributedObject.disable(self)
|
DistributedObject.disable(self)
|
||||||
|
|
|
@ -17,8 +17,8 @@ class DistributedJorElCamAI(DistributedObjectAI):
|
||||||
|
|
||||||
def delete(self):
|
def delete(self):
|
||||||
self.dna = None
|
self.dna = None
|
||||||
del self.dna
|
|
||||||
DistributedObjectAI.delete(self)
|
DistributedObjectAI.delete(self)
|
||||||
|
|
||||||
def disable(self):
|
def disable(self):
|
||||||
|
self.dna = None
|
||||||
DistributedObjectAI.disable(self)
|
DistributedObjectAI.disable(self)
|
||||||
|
|
Loading…
Reference in a new issue