From 16ae5e005e314ff542f0ebe843befbeef143ec1f Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期三, 13 二月 2019 21:24:34 +0800
Subject: [PATCH] 3335 配置表读取重构。
---
Core/GameEngine/Model/Config/DemonRecommondPropertyConfig.cs | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/Core/GameEngine/Model/Config/DemonRecommondPropertyConfig.cs b/Core/GameEngine/Model/Config/DemonRecommondPropertyConfig.cs
index bb4f6bc..89d7007 100644
--- a/Core/GameEngine/Model/Config/DemonRecommondPropertyConfig.cs
+++ b/Core/GameEngine/Model/Config/DemonRecommondPropertyConfig.cs
@@ -137,7 +137,9 @@
if (preParse)
{
- configs[id] = new DemonRecommondPropertyConfig(line);
+ var config = new DemonRecommondPropertyConfig(line);
+ configs[id] = config;
+ (config as IConfigPostProcess).OnConfigParseCompleted();
}
else
{
@@ -163,7 +165,9 @@
if (preParse)
{
- configs[id] = new DemonRecommondPropertyConfig(line);
+ var config = new DemonRecommondPropertyConfig(line);
+ configs[id] = config;
+ (config as IConfigPostProcess).OnConfigParseCompleted();
}
else
{
--
Gitblit v1.8.0