From 2f723e5320ef618985cc9ea8f71deafd3e4bec36 Mon Sep 17 00:00:00 2001
From: client_Hale <339726288@qq.com>
Date: 星期二, 16 四月 2019 11:35:50 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts

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

diff --git a/Fight/MapTransferUtility.cs b/Fight/MapTransferUtility.cs
index a7f91b0..625da42 100644
--- a/Fight/MapTransferUtility.cs
+++ b/Fight/MapTransferUtility.cs
@@ -268,6 +268,16 @@
 
         var _curStage = StageLoad.Instance.currentStage as DungeonStage;
 
+        if (AdventureStage.Instance.IsInAdventureStage)
+        {
+            GActor _actor = GAMgr.Instance.GetCloserNPC(_hero.Pos, NpcID);
+            if (_actor != null)
+            {
+                MoveToExistNpc(NpcID, _actor);
+                yield break;
+            }
+        }
+
         // 鍒ゆ柇鏄惁鑳藉寰楀埌鍒拌揪鎸囧畾鐐�
         // 鑾峰彇NPC浣嶇疆鏁版嵁
         GAStaticDefine.NPCLocation _npcLocation;

--
Gitblit v1.8.0