From 168b5867e82f02403e69f32affd8150d90cd848a Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 27 二月 2026 17:35:15 +0800
Subject: [PATCH] 16 卡牌服务端(SetCurGameWorldIndex改为在requestLogicProcess源头设置;)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/PyMongoDB/LogicProcess/UserCtrlDB.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/PyMongoDB/LogicProcess/UserCtrlDB.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/PyMongoDB/LogicProcess/UserCtrlDB.py
index 9b649b2..1b1d6aa 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/PyMongoDB/LogicProcess/UserCtrlDB.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/PyMongoDB/LogicProcess/UserCtrlDB.py
@@ -471,6 +471,7 @@
return dbPlayer.adoUpdateC(col)
def requestLogicProcess(self, pack):
+ GameWorld.GetGameWorld().SetCurGameWorldIndex(0) # 需要设置,不然获取不到 GetMap 等虚拟分线相关接口
db = self.db
if self.IsMergeServer():
# 每X分钟清除已下线的玩家跨服数据, 离线超过3分钟玩家直接返回子服
--
Gitblit v1.8.0