From 8a132929e7184bc274b742d3e25b93782c65e9ef Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期五, 12 十二月 2025 14:32:56 +0800 Subject: [PATCH] 16 卡牌服务端(后台查看玩家、物品) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorld.py | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorld.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorld.py index 3f675a7..3a7ede6 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorld.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorld.py @@ -1457,7 +1457,10 @@ ##获取玩家所属平台 def GetPlayerPlatform(curPlayer): - return curPlayer.GetAccountData().GetOperator() + appID = curPlayer.GetAccountData().GetOperator() + if not appID: + appID = GetAppIDByAccID(curPlayer.GetAccID()) + return appID ##获取平台账号 def GetPlatformAccID(gameAccID): -- Gitblit v1.8.0