百宝商会文字错乱修改
parent
7aa590621c
commit
fd9f4248b6
|
@ -170,13 +170,7 @@ function this.SortData(allData)
|
|||
return
|
||||
end
|
||||
table.sort(allData, function(a,b)
|
||||
-- local aboughtNum = a.Limit - OperatingManager.GetGoodsBuyTime(GoodsTypeDef.DirectPurchaseGift, a.Id) > 0 and 2 or 1
|
||||
-- local bboughtNum = b.Limit - OperatingManager.GetGoodsBuyTime(GoodsTypeDef.DirectPurchaseGift, b.Id) > 0 and 2 or 1
|
||||
-- if aboughtNum == bboughtNum then
|
||||
return a.Id < b.Id
|
||||
-- else
|
||||
-- return aboughtNum > bboughtNum
|
||||
-- end
|
||||
return a.Sort < b.Sort
|
||||
end)
|
||||
return allData
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue