我的助战报错修改提交
parent
d660fe362e
commit
82b992c4ca
|
|
@ -97,7 +97,12 @@ function this:SortHeros(data)
|
|||
data[i].fourElementSortId = 0
|
||||
end
|
||||
end
|
||||
else
|
||||
for i = 1 ,#data do
|
||||
data[i].fourElementSortId = 0
|
||||
end
|
||||
end
|
||||
|
||||
table.sort(data,function(a,b)
|
||||
if a.fourElementSortId == b.fourElementSortId then
|
||||
if a.warPower == b.warPower then
|
||||
|
|
|
|||
Loading…
Reference in New Issue