From d1058e0767342cd44e97543ab3a483f0879e0886 Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期三, 10 十月 2018 11:30:13 +0800
Subject: [PATCH] 4105 子 【主干】新增射日神弓成就 / 【后端】新增成就 4108 【后端】八卦炉丹药祈福新增VIP限制
---
ServerPython/CoreServerGroup/GameServer/Script/GameWorld.py | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/ServerPython/CoreServerGroup/GameServer/Script/GameWorld.py b/ServerPython/CoreServerGroup/GameServer/Script/GameWorld.py
index 6992c9c..b0ae8f9 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/GameWorld.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/GameWorld.py
@@ -483,9 +483,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.GetAccountInfo().GetOperator()
##获取平台账号
def GetPlatformAccID(gameAccID):
--
Gitblit v1.8.0