From c17e896c0b62d32bf99775b18db07d3ec4252aed Mon Sep 17 00:00:00 2001 From: hch <305670599@qq.com> Date: 星期二, 09 十月 2018 22:16:08 +0800 Subject: [PATCH] 4102 【后端】混服支持 --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorld.py | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorld.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorld.py index 3498980..8c81f41 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorld.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorld.py @@ -1087,9 +1087,8 @@ return GetServerID() ##获取玩家所属平台 -def GetPlayerPlatform(gameAccID): - infoList = gameAccID.split(Def_AccID_Split_Sign) - return "" if len(infoList) < 3 else infoList[-2] +def GetPlayerPlatform(curPlayer): + return curPlayer.GetAccountData().GetOperator() ##获取平台账号 def GetPlatformAccID(gameAccID): -- Gitblit v1.8.0