mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
districtId in not wantOtpServer
This commit is contained in:
parent
03408cd09d
commit
a0c343d591
@ -278,11 +278,18 @@ 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
|
||||||
dg = self.dclass.aiFormatGenerate(
|
if not wantOtpServer:
|
||||||
self, self.doId, parentId, zoneId,
|
dg = self.dclass.aiFormatGenerate(
|
||||||
repository.serverId,
|
self, self.doId, 0, zoneId,
|
||||||
repository.ourChannel,
|
repository.districtId,
|
||||||
optionalFields)
|
repository.ourChannel,
|
||||||
|
optionalFields)
|
||||||
|
else:
|
||||||
|
dg = self.dclass.aiFormatGenerate(
|
||||||
|
self, self.doId, parentId, zoneId,
|
||||||
|
repository.serverId,
|
||||||
|
repository.ourChannel,
|
||||||
|
optionalFields)
|
||||||
repository.send(dg)
|
repository.send(dg)
|
||||||
|
|
||||||
def initFromServerResponse(self, valDict):
|
def initFromServerResponse(self, valDict):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user