mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
districtId in not wantOtpServer
This commit is contained in:
parent
03408cd09d
commit
a0c343d591
@ -278,6 +278,13 @@ class DistributedObjectAI(DirectObject.DirectObject):
|
|||||||
if not wantOtpServer:
|
if not wantOtpServer:
|
||||||
parentId = 0
|
parentId = 0
|
||||||
# Make the dclass do the hard work
|
# Make the dclass do the hard work
|
||||||
|
if not wantOtpServer:
|
||||||
|
dg = self.dclass.aiFormatGenerate(
|
||||||
|
self, self.doId, 0, zoneId,
|
||||||
|
repository.districtId,
|
||||||
|
repository.ourChannel,
|
||||||
|
optionalFields)
|
||||||
|
else:
|
||||||
dg = self.dclass.aiFormatGenerate(
|
dg = self.dclass.aiFormatGenerate(
|
||||||
self, self.doId, parentId, zoneId,
|
self, self.doId, parentId, zoneId,
|
||||||
repository.serverId,
|
repository.serverId,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user