Zachary Pavlov 17 年之前
父節點
當前提交
109864928d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      direct/src/showbase/Messenger.py

+ 1 - 1
direct/src/showbase/Messenger.py

@@ -266,8 +266,8 @@ class Messenger:
 
 
         self.lock.acquire()
         self.lock.acquire()
         try:
         try:
+            foundWatch=0
             if __debug__:
             if __debug__:
-                foundWatch=0
                 if self.__isWatching:
                 if self.__isWatching:
                     for i in self.__watching.keys():
                     for i in self.__watching.keys():
                         if str(event).find(i) >= 0:
                         if str(event).find(i) >= 0: