From 29ffff70e64abd535eace075e3822650e1c748d8 Mon Sep 17 00:00:00 2001
From: client_Hale <339726288@qq.com>
Date: 星期四, 28 三月 2019 20:36:32 +0800
Subject: [PATCH] 382 采集触发逻辑修改

---
 System/MainInterfacePanel/MainCollectBehaviour.cs |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/System/MainInterfacePanel/MainCollectBehaviour.cs b/System/MainInterfacePanel/MainCollectBehaviour.cs
index 69fba92..9d2dcf7 100644
--- a/System/MainInterfacePanel/MainCollectBehaviour.cs
+++ b/System/MainInterfacePanel/MainCollectBehaviour.cs
@@ -31,6 +31,11 @@
 
         public void Display(int npcId, uint sid)
         {
+            if (npcId == collectNpcId && sid == serverInstanceId)
+            {
+                return;
+            }
+
             collectNpcId = npcId;
             serverInstanceId = sid;
 

--
Gitblit v1.8.0