From 42e777349b6f1a57284419fec3e5eb7d62a6dc5c Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期日, 04 一月 2026 17:19:36 +0800
Subject: [PATCH] 283 【配套功能】查看他人-服务端(武将物品增加Data记录;)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/PyMongoDB/GMToolLogicProcess/Commands/GMT_ReloadConfig.py | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/PyMongoDB/GMToolLogicProcess/Commands/GMT_ReloadConfig.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/PyMongoDB/GMToolLogicProcess/Commands/GMT_ReloadConfig.py
index 51ef60a..f3dba83 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/PyMongoDB/GMToolLogicProcess/Commands/GMT_ReloadConfig.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/PyMongoDB/GMToolLogicProcess/Commands/GMT_ReloadConfig.py
@@ -17,10 +17,16 @@
import GMCommon
import ReadChConfig
+import GameWorld
## 收到gm命令执行
# @param gmCmdDict:gm命令字典
# @return None
def OnExec(gmCmdDict):
- ReadChConfig.SetReloadConfig()
+ reloadType = gmCmdDict.get("reloadType")
+ GameWorld.Log("服务器执行重读! reloadType=%s" % reloadType)
+ if reloadType == "script":
+ GameWorld.__ReloadScript()
+ else:
+ ReadChConfig.SetReloadConfig()
return GMCommon.Def_Success
--
Gitblit v1.8.0