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
---
Core/GameEngine/Model/TelPartialConfig/tagPlayerLVConfig.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Core/GameEngine/Model/TelPartialConfig/tagPlayerLVConfig.cs b/Core/GameEngine/Model/TelPartialConfig/tagPlayerLVConfig.cs
index 6905299..9633728 100644
--- a/Core/GameEngine/Model/TelPartialConfig/tagPlayerLVConfig.cs
+++ b/Core/GameEngine/Model/TelPartialConfig/tagPlayerLVConfig.cs
@@ -5,7 +5,7 @@
{
public static Int64 GetExpByPlayerLv(int lv)
{
- PlayerLVConfig cfg = Config.Instance.Get<PlayerLVConfig>(lv);
+ PlayerLVConfig cfg = PlayerLVConfig.Get(lv);
if (cfg != null) {
return (Int64)cfg.EXP1 * 100000000 + (Int64)cfg.EXP2;
}
--
Gitblit v1.8.0