From 2df58aeacbf1177ec01167bdeccfe89d6a8d5804 Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期三, 13 二月 2019 14:20:28 +0800
Subject: [PATCH] 3335 配置表读取重构,修改配置表读取接口1
---
System/MainInterfacePanel/TipPanel.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/System/MainInterfacePanel/TipPanel.cs b/System/MainInterfacePanel/TipPanel.cs
index d331ba2..6b17b8b 100644
--- a/System/MainInterfacePanel/TipPanel.cs
+++ b/System/MainInterfacePanel/TipPanel.cs
@@ -83,7 +83,7 @@
private bool IsDungeon()
{
var mapId = PlayerDatas.Instance.baseData.MapID;
- var mapConfig = Config.Instance.Get<MapConfig>(mapId);
+ var mapConfig = MapConfig.Get(mapId);
return mapConfig != null && mapConfig.MapFBType != 0;
}
public void IsOPenTip()
--
Gitblit v1.8.0