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