mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
- Fixed a ship crash
This commit is contained in:
parent
deb3f12f1b
commit
7698e4801b
@ -23,7 +23,8 @@ class DistributedNode(DistributedObject.DistributedObject, NodePath):
|
||||
|
||||
def disable(self):
|
||||
if self.activeState != DistributedObject.ESDisabled:
|
||||
self.reparentTo(hidden)
|
||||
if not self.isEmpty():
|
||||
self.reparentTo(hidden)
|
||||
DistributedObject.DistributedObject.disable(self)
|
||||
|
||||
def delete(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user