distributed: DistributedNode should not initialize NodePath if it's already initialized.

This commit is contained in:
Sam Edwards 2014-07-26 22:33:00 -07:00 committed by Kestred
parent 25b5044536
commit db951158a9
1 changed files with 2 additions and 1 deletions

View File

@ -17,7 +17,8 @@ class DistributedNode(DistributedObject.DistributedObject, NodePath):
self.DistributedNode_initialized = 1
self.gotStringParentToken = 0
DistributedObject.DistributedObject.__init__(self, cr)
NodePath.__init__(self, "DistributedNode")
if not self.this:
NodePath.__init__(self, "DistributedNode")
# initialize gridParent
self.gridParent = None