From 4dc1f051b70dc7eeefdd8a50df66c44f51c2655e Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期三, 24 十月 2018 21:00:11 +0800
Subject: [PATCH] 2197 修复结算时玩家不在副本中, 导致封魔坛报错问题

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFlashGiftbag.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFlashGiftbag.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFlashGiftbag.py
index 87e8612..da6d380 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFlashGiftbag.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFlashGiftbag.py
@@ -165,7 +165,7 @@
                                              event=[ChConfig.ItemGive_CTG, True, addDRDict])
     
     # 取玩家APPID,混服使用
-    appID = GameWorld.GetPlayerPlatform(curPlayer.GetAccID())
+    appID = GameWorld.GetPlayerPlatform(curPlayer)
     notifyKey = giftbagIpyData.GetNotifyKey()
     if notifyKey:
         orderIpyData = GetFlashGiftbagIDOrderInfoIpyData(giftbagID, appID)
@@ -235,7 +235,7 @@
         return
     
     # 取玩家APPID,混服使用
-    appID = GameWorld.GetPlayerPlatform(curPlayer.GetAccID())
+    appID = GameWorld.GetPlayerPlatform(curPlayer)
     
     openServerDay = GameWorld.GetGameWorld().GetGameWorldDictByKey(ShareDefine.Def_Notify_WorldKey_ServerDay) + 1
     packInfo = ChPyNetSendPack.tagMCFlashGiftbagInfo()

--
Gitblit v1.8.0