From 5e7ee4b9e5dff53631af9072559df581fe097d8a Mon Sep 17 00:00:00 2001
From: client_Hale <339726288@qq.com>
Date: 星期三, 07 十一月 2018 15:32:24 +0800
Subject: [PATCH] 2305 【BUG】【1.2】引导点击任务时,会自动弹出NPC的默认对话框

---
 Fight/MapTransferUtility.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Fight/MapTransferUtility.cs b/Fight/MapTransferUtility.cs
index aa92fe3..c5ef8d1 100644
--- a/Fight/MapTransferUtility.cs
+++ b/Fight/MapTransferUtility.cs
@@ -958,6 +958,7 @@
             {
                 if (_chkDistSqrt <= Mathf.Pow(_chkDist, 2))
                 {
+                    Clear();
                     NPCInteractProcessor.InvokeEvent((E_NpcType)_npcConfig.NPCType, _npcConfig.NPCID, _npc.ServerInstID);
                     _hero.LockTarget = _npc;
                     _hero.SelectTarget = _npc;
@@ -969,7 +970,6 @@
                         _npc.Forward = -_npc2heroDir;
                     }
                     _hero.Forward = _npc2heroDir;
-                    Clear();
                 }
             }
         }

--
Gitblit v1.8.0