From fdc93e9592be7de1dff464c911aae6489f1a6eed Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期五, 11 一月 2019 18:23:21 +0800
Subject: [PATCH] 5512 子 【开发】【1.4】跨服竞技场 / 【后端】【1.4】跨服竞技场开发 -- 指定gameworld的npc管理
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerNewGuyCard.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerNewGuyCard.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerNewGuyCard.py
index 71ede4d..38d18f3 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerNewGuyCard.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerNewGuyCard.py
@@ -256,7 +256,7 @@
# @return 序号
def CheckMarkIdCardRule(curPlayer, cardCode):
idName = curPlayer.GetAccID()
- platform = GameWorld.GetPlayerPlatform(idName)
+ platform = GameWorld.GetPlayerPlatform(curPlayer)
platFormIdName = GameWorld.GetPlatformAccID(idName)
markIdCardData = ReadChConfig.GetEvalChConfig("IDMarkCardData")
for cardIndex, cardInfo in markIdCardData.items():
@@ -505,7 +505,7 @@
PlayerControl.NotifyCode(curPlayer, "GeRen_admin_327925")
return
- platform = GameWorld.GetPlayerPlatform(curPlayer.GetAccID())
+ platform = GameWorld.GetPlayerPlatform(curPlayer)
MediaCardDict = ReadChConfig.GetEvalChConfig("MediaCard")
commMediaCardDict, platformMediaCardDict = MediaCardDict
--
Gitblit v1.8.0