瀏覽代碼

修复战斗服会过滤掉某些ClientEvent,只因为消息来源不是主角

大爷 1 年之前
父節點
當前提交
a032a82397
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Common/CommonAIServer/Node/ZoneNode.cs

+ 2 - 2
Common/CommonAIServer/Node/ZoneNode.cs

@@ -432,7 +432,7 @@ namespace CommonAIServer.Node
                     return null;
                 }
             }
-            else if (msg is ClientEvent)
+            /*else if (msg is ClientEvent)
             {
                 // 过滤不是发给本人的ClientEvent事件 //
                 ClientEvent cm = msg as ClientEvent;
@@ -440,7 +440,7 @@ namespace CommonAIServer.Node
                 {
                     return null;
                 }
-            }
+            }*/
             else if (msg is PositionMessage)
             {
                 // 过滤不在自己感兴趣范围内的消息 //