车迟抢夺记录排续
parent
3effb209bb
commit
162180894b
|
|
@ -61,6 +61,11 @@ function GuildCarDelayLootRecordPopup:OnShow()
|
|||
table.insert(allLootRecordData,v)
|
||||
end
|
||||
|
||||
table.sort(allLootRecordData, function(a,b)
|
||||
if (a and #a > 0) and (b and #b > 0) then
|
||||
return a[1].time > b[1].time
|
||||
end
|
||||
end)
|
||||
for i = 1, #recordPerList do
|
||||
if allLootRecordData[i] and #allLootRecordData[i] > 0 then
|
||||
Util.GetGameObject(recordPerList[i], "titleImage/titleImage/titleText"):GetComponent("Text").text = this.TimeStampToDateString(allLootRecordData[i][1].time,2)
|
||||
|
|
|
|||
Loading…
Reference in New Issue