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/PKModel.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/System/MainInterfacePanel/PKModel.cs b/System/MainInterfacePanel/PKModel.cs
index 8a2c4b1..1a15531 100644
--- a/System/MainInterfacePanel/PKModel.cs
+++ b/System/MainInterfacePanel/PKModel.cs
@@ -45,7 +45,7 @@
private void onStageLoadFinish()
{
int MapID = PlayerDatas.Instance.baseData.MapID;
- var config = Config.Instance.Get<MapConfig>(MapID);
+ var config = MapConfig.Get(MapID);
if (config!=null)
{
--
Gitblit v1.8.0