From dae842ad6e4a43d66255251e3ca60880af8d08bb Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 09 十月 2025 16:26:25 +0800
Subject: [PATCH] 242 【福利内容】每日签到-服务端
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ReloadModule.py | 13 +------------
1 files changed, 1 insertions(+), 12 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ReloadModule.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ReloadModule.py
index 6831fdc..706d19e 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ReloadModule.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ReloadModule.py
@@ -17,8 +17,6 @@
import GameWorld
import ShareDefine
-import QuestManager
-import EventShell
import ChConfig
import sys
@@ -60,7 +58,6 @@
GameWorld.Log("开始脚本重读 curVersion=%s,updVersion=%s" % (curVersion, updVersion))
moduleNameDict = {}
- isReloadMission = False
for moduleKey, module in sys.modules.items():
if "py" not in str(module):
@@ -97,18 +94,10 @@
if curModuleName in moduleNameDict:
for moduleKey in moduleNameDict[curModuleName]:
__DoModuleReload(moduleKey)
-
- if curModuleName in ["QuestCommon", "QuestManager", "QuestRunner"]:
- isReloadMission = True
# 判断脚本文件是否有修改,如有修改则进行重读任务
-
- # 重读任务可能有一定风险,需详细测试
- if isReloadMission:
- QuestManager.ReloadQuests(tick)
- EventShell.DoReloadRefresh()
- GameWorld.Log(" 脚本重读 OK! isReloadMission=%s" % isReloadMission)
+ GameWorld.Log(" 脚本重读 !")
return
def __DoModuleReload(moduleKey):
--
Gitblit v1.8.0