From affca29e7500fc8e2e65cf15d19496a370f6329e Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期四, 27 十二月 2018 16:22:58 +0800
Subject: [PATCH] 860312 机器人

---
 ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerBillboard.py |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerBillboard.py b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerBillboard.py
index 3213a7f..9ede044 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerBillboard.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerBillboard.py
@@ -472,8 +472,9 @@
         gameWorld.SetDict(Def_Key_BillboardSortTick % bType, tick)
     #GameWorld.DebugLog("更新排行榜:bType=%s,autoSort=%s,tick=%s,lastSortTick=%s,d=%s" % (bType, autoSort, tick, lastSortTick, tick - lastSortTick))
     
-    isUpd = UpdatePlayerBillboard(bID, bName, bName2, bType, bType2, value1, value2, cmpValue, autoSort, cmpValue2, cmpValue3)
-    __UpdateBillboardSortState(gameWorld, bType, autoSort, isUpd)
+    UpdatePlayerBillboard(bID, bName, bName2, bType, bType2, value1, value2, cmpValue, autoSort, cmpValue2, cmpValue3)
+    gameWorld.SetDict(Def_Key_BillboardNeedSort % bType, 1)
+    #__UpdateBillboardSortState(gameWorld, bType, autoSort, isUpd)
     
     exInfo = billInfoDict["ExInfo"]
     # 以下为榜单附加特殊处理
@@ -494,8 +495,9 @@
         job = playerJob % 10
         if job in ShareDefine.JobFightPowerBillboardDict:
             jobBType = ShareDefine.JobFightPowerBillboardDict[job]
-            isUpd = UpdatePlayerBillboard(bID, bName, bName2, jobBType, bType2, value1, value2, cmpValue, autoSort)
-            __UpdateBillboardSortState(gameWorld, jobBType, autoSort, isUpd)
+            UpdatePlayerBillboard(bID, bName, bName2, jobBType, bType2, value1, value2, cmpValue, autoSort)
+            gameWorld.SetDict(Def_Key_BillboardNeedSort % jobBType, 1)
+            #__UpdateBillboardSortState(gameWorld, jobBType, autoSort, isUpd)
             
     return
 

--
Gitblit v1.8.0