Darren Ranalli 22 年之前
父節點
當前提交
0865d3a80b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      direct/src/level/BasicEntities.py

+ 1 - 1
direct/src/level/BasicEntities.py

@@ -36,7 +36,7 @@ class NodePathEntity(Entity.Entity, privNodePathImpl):
 
     def destroy(self):
         Entity.Entity.destroy(self)
-        privNodePathImpl.initializeEntity(self)
+        privNodePathImpl.destroy(self)
 
 class DistributedNodePathEntity(DistributedEntity.DistributedEntity,
                                 privNodePathImpl):