From 5d6f34baa8b0f80fdc1b9c9c5a4f3d022feb5ea7 Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期三, 15 五月 2019 15:54:33 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts

---
 Fight/ClientCollectUtility.cs |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/Fight/ClientCollectUtility.cs b/Fight/ClientCollectUtility.cs
index 230f64c..75c6fd2 100644
--- a/Fight/ClientCollectUtility.cs
+++ b/Fight/ClientCollectUtility.cs
@@ -90,9 +90,12 @@
 
     public static void Init()
     {
+        NPCInteractProcessor.s_NpcInteractEvent -= HandleCallback;
         NPCInteractProcessor.s_NpcInteractEvent += HandleCallback;
 
+        WindowCenter.Instance.windowAfterOpenEvent -= CheckOpenCollectIcon;
         WindowCenter.Instance.windowAfterOpenEvent += CheckOpenCollectIcon;
+        WindowCenter.Instance.windowAfterCloseEvent -= CheckCloseCollectIcon;
         WindowCenter.Instance.windowAfterCloseEvent += CheckCloseCollectIcon;
     }
 

--
Gitblit v1.8.0