From 4915842ee2b2cfb918df25393965dda2bc87d159 Mon Sep 17 00:00:00 2001 From: zhangqiang <657634622@qq.com> Date: Thu, 10 Jun 2021 17:05:51 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=B1=B1=E6=B2=B3=E7=A4=BE=E7=A8=B7?= =?UTF-8?q?=E5=9B=BE=E3=80=91=E5=A5=96=E5=8A=B1=E6=8E=92=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/FightLevel/FightLevelManager.lua | 1 + 1 file changed, 1 insertion(+) 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)