From e9a43a21fa63f535fe48c6a92078ad752fc3b34f Mon Sep 17 00:00:00 2001 From: Tohka Date: Tue, 1 Nov 2016 17:25:47 +0200 Subject: [PATCH] Remove PiratesMagicWordManager VR Studio code reference --- direct/src/distributed/DistributedObjectGlobalUD.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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: