【山河社稷图】奖励排序

dev_chengFeng
zhangqiang 2021-06-10 17:05:51 +08:00
parent ddd0ece70b
commit 4915842ee2
1 changed files with 1 additions and 0 deletions

View File

@ -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)