mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 18:03:56 -04:00
prevent uberdog formatting freezes
This commit is contained in:
parent
eebf4874b0
commit
b069a57a56
@ -25,8 +25,8 @@ class DistributedObjectGlobalUD(DistributedObjectUD):
|
|||||||
DistributedObjectUD.delete(self)
|
DistributedObjectUD.delete(self)
|
||||||
|
|
||||||
def execCommand(self, command, mwMgrId, avId, zoneId):
|
def execCommand(self, command, mwMgrId, avId, zoneId):
|
||||||
text = self.__execMessage(command)
|
text = str(self.__execMessage(command))[:config.GetInt("ai-debug-length",300)]
|
||||||
print text
|
|
||||||
dclass = uber.air.dclassesByName.get("PiratesMagicWordManagerAI")
|
dclass = uber.air.dclassesByName.get("PiratesMagicWordManagerAI")
|
||||||
dg = dclass.aiFormatUpdate(
|
dg = dclass.aiFormatUpdate(
|
||||||
"setMagicWordResponse", mwMgrId, (1<<32)+avId, uber.air.ourChannel, [text])
|
"setMagicWordResponse", mwMgrId, (1<<32)+avId, uber.air.ourChannel, [text])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user