From c90cdd78c2bf8bcfa25cec7432a5876f6085ecfb Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期五, 01 二月 2019 11:18:37 +0800
Subject: [PATCH] 3335 切换地图逻辑重构。
---
System/WorldMap/MapNameHintWin.cs | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/System/WorldMap/MapNameHintWin.cs b/System/WorldMap/MapNameHintWin.cs
index fe3d7ff..3fdf9d5 100644
--- a/System/WorldMap/MapNameHintWin.cs
+++ b/System/WorldMap/MapNameHintWin.cs
@@ -46,7 +46,9 @@
m_MapName.text = StringUtility.Contact(towerConfig.TowerName, floorConfig.FloorName);
break;
default:
- var mapResConfig = DTCA127_tagMCStartChangeMap.GetMapResourcesConfig();
+ var dataMapId = MapUtility.GetDataMapId();
+ var lineId = MapUtility.GetLineId();
+ var mapResConfig = MapResourcesConfig.GetConfig(dataMapId, lineId);
m_MapName.text = mapResConfig.Name;
break;
}
--
Gitblit v1.8.0