From 2e1b0969fb141b9677230a56f9c29020362a5eab Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 03 九月 2018 15:08:01 +0800
Subject: [PATCH] Fix: 1819 玩家切地图,家族等级数据同步会异常(修复仙盟心法切图后无法升级的bug);

---
 ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerBourse.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerBourse.py b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerBourse.py
index e1ac5fc..ef8aa1b 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerBourse.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerBourse.py
@@ -35,7 +35,7 @@
 import time
 import json
 
-Def_Sort_IndexList_Interval = IpyGameDataPY.GetFuncCfg('BourseUpdataCD')  #五分钟更新一次子索引列表
+
 g_lastSortTimeForQueryTypeDict = {}     #记录对应查询类型上次更新子索引列表时间
 g_dict_Of_QueryTypeIndexList = {}       #储存对应查询类型的排序列表的字典
 
@@ -215,6 +215,7 @@
     lastSortTick = g_lastSortTimeForQueryTypeDict.get(queryType, 0)
     
     queryTypeList = g_dict_Of_QueryTypeIndexList.get(queryType, None)
+    Def_Sort_IndexList_Interval = IpyGameDataPY.GetFuncCfg('BourseUpdataCD')  #五分钟更新一次子索引列表
     if queryTypeList == None or tick - lastSortTick > Def_Sort_IndexList_Interval:
         SortIndexList(queryType)#重新排序指定类型
         lastSortTick = tick

--
Gitblit v1.8.0