【踏碎凌霄】奖励排序

dev_chengFeng
gaoxin 2021-04-27 18:02:51 +08:00
parent b9f742fcf2
commit 68626e287e
1 changed files with 8 additions and 0 deletions

View File

@ -96,6 +96,14 @@ local TypeUpdateFunc = {
end
end
end
table.sort(curData.rewards,function (a,b)
if a.state == b.state then
return a.missionId < b.missionId
else
return a.state < b.state
end
end)
end
}