mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
fixed bug in switched order of parentId,zoneId
This commit is contained in:
parent
3fc1441208
commit
d3d22253e5
@ -282,9 +282,7 @@ class DistributedObjectAI(DirectObject.DirectObject):
|
||||
|
||||
# The repository is the one that really does the work
|
||||
parentId = self.air.districtId
|
||||
#self.parentId = parentId
|
||||
self.air.generateWithRequired(self, zoneId, parentId, optionalFields)
|
||||
parentId = self.air.districtId
|
||||
self.air.generateWithRequired(self, parentId, zoneId, optionalFields)
|
||||
self.parentId = parentId
|
||||
self.zoneId = zoneId
|
||||
self.generate()
|
||||
|
Loading…
x
Reference in New Issue
Block a user