diff --git a/Assets/ManagedResources/~Lua/Modules/FightLevel/FightLevelManager.lua b/Assets/ManagedResources/~Lua/Modules/FightLevel/FightLevelManager.lua index 74ed788058..365b47437f 100644 --- a/Assets/ManagedResources/~Lua/Modules/FightLevel/FightLevelManager.lua +++ b/Assets/ManagedResources/~Lua/Modules/FightLevel/FightLevelManager.lua @@ -81,6 +81,7 @@ function this.UpdataChapterData(msg,_isShowChapterOpenPopup) HardStageChapterReward.config = HardStageReward[msg.chapter[i].reward[k].id]--่กจ table.insert(singleHardStageChapter.reward,HardStageChapterReward) end + table.sort(singleHardStageChapter.reward, function(a,b) return a.id < b.id end) allChapterData[msg.chapter[i].chapterId] = singleHardStageChapter end CheckRedPointStatus(RedPointType.FightLevel)