From eab3adeae727d8144d33e9d160ddc3661112f401 Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期二, 19 二月 2019 10:44:58 +0800
Subject: [PATCH] 3014 【BUG】【1.6】跨服pk,打完机器人没回到原地图

---
 System/Dungeon/DungeonFightWin.cs |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/System/Dungeon/DungeonFightWin.cs b/System/Dungeon/DungeonFightWin.cs
index 66cd949..5f115d0 100644
--- a/System/Dungeon/DungeonFightWin.cs
+++ b/System/Dungeon/DungeonFightWin.cs
@@ -325,7 +325,12 @@
 
         private void ProcessDungeonEndCoolDown()
         {
-            var dataMapId = model.GetDataMapIdByMapId(PlayerDatas.Instance.baseData.MapID);
+            if (ClientDungeonStageUtility.isClientDungeon)
+            {
+                return;
+            }
+
+            var dataMapId = MapUtility.GetDataMapId(PlayerDatas.Instance.baseData.MapID);
             switch (dataMapId)
             {
                 case RuneTowerModel.RUNETOWER_MAPID:

--
Gitblit v1.8.0