From af1c67bfe6df233eac72707a27d453dc8f8ef633 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 13 八月 2018 15:52:44 +0800
Subject: [PATCH] Fix: 1558 排行榜主动查看没有,客户端没有及时刷新排行; 排行榜更新逻辑修改(只要有数据更新则强制设置为需要更新排行榜);
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFlashGiftbag.py | 6 +++---
1 files changed, 3 insertions(+), 3 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 ec36323..e2bc580 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFlashGiftbag.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFlashGiftbag.py
@@ -279,11 +279,11 @@
ipyDataMgr = IpyGameDataPY.IPY_Data()
for i in xrange(ipyDataMgr.GetOrderInfoCount()):
ipyData = ipyDataMgr.GetOrderInfoByIndex(i)
- if ipyData.GetAppID() != appID:
- continue
+ #if ipyData.GetAppID() != appID:
+ # continue
if not ipyData.GetGiftbagID():
continue
- FlashGiftbagIDRMBDict[(ipyData.GetGiftbagID(), appID)] = ipyData
+ FlashGiftbagIDRMBDict[(ipyData.GetGiftbagID(), ipyData.GetAppID())] = ipyData
IpyGameDataPY.SetConfigEx(key, FlashGiftbagIDRMBDict)
return FlashGiftbagIDRMBDict.get((giftbagID, appID))
--
Gitblit v1.8.0