diff --git a/direct/src/distributed/DistributedObjectGlobalUD.py b/direct/src/distributed/DistributedObjectGlobalUD.py index b8f84b472e..34cfa3a213 100755 --- a/direct/src/distributed/DistributedObjectGlobalUD.py +++ b/direct/src/distributed/DistributedObjectGlobalUD.py @@ -26,11 +26,7 @@ class DistributedObjectGlobalUD(DistributedObjectUD): def execCommand(self, command, mwMgrId, avId, zoneId): text = str(self.__execMessage(command))[:config.GetInt("ai-debug-length",300)] - - dclass = uber.air.dclassesByName.get("PiratesMagicWordManagerAI") - dg = dclass.aiFormatUpdate( - "setMagicWordResponse", mwMgrId, (1<<32)+avId, uber.air.ourChannel, [text]) - uber.air.send(dg) + self.notify.info(text) def __execMessage(self, message): if not self.ExecNamespace: