From e261fda74c51592a8e83175f3a7386f48ed13df4 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期三, 28 十一月 2018 16:46:56 +0800 Subject: [PATCH] 4762 【后端】修复开关服后助战次数信息加载失败bug; --- ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerFBHelpBattle.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerFBHelpBattle.py b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerFBHelpBattle.py index 8b00207..a5d30b6 100644 --- a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerFBHelpBattle.py +++ b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerFBHelpBattle.py @@ -85,7 +85,7 @@ helpBattlePlayer.playerName = recData.GetStrValue1() helpBattlePlayer.todayXianyuanCoin = int(recData.GetStrValue2()) helpCountDictStr = recData.GetStrValue3() - if helpCountDictStr.startswith("{") and helpCountDictStr.endswith("{"): + if helpCountDictStr.startswith("{") and helpCountDictStr.endswith("}"): helpBattlePlayer.todayHelpCountDict = eval(helpCountDictStr) else: GameWorld.ErrLog("LoadCheckInPlayerError: helpCountDictStr=%s" % helpCountDictStr, playerID) -- Gitblit v1.8.0