building: Don't try to do anything with the offsetNP unless we were setup
This commit is contained in:
parent
2be2f10747
commit
ddf3b48cf9
1 changed files with 1 additions and 1 deletions
|
@ -116,12 +116,12 @@ class DistributedElevator(DistributedObject.DistributedObject):
|
|||
del self.openDoors
|
||||
if hasattr(self, 'closeDoors'):
|
||||
del self.closeDoors
|
||||
self.offsetNP.removeNode()
|
||||
del self.fsm
|
||||
del self.openSfx
|
||||
del self.closeSfx
|
||||
self.isSetup = 0
|
||||
self.fillSlotTrack = None
|
||||
self.offsetNP.removeNode()
|
||||
if hasattr(base.localAvatar, 'elevatorNotifier'):
|
||||
base.localAvatar.elevatorNotifier.cleanup()
|
||||
DistributedObject.DistributedObject.delete(self)
|
||||
|
|
Loading…
Reference in a new issue