dev_chengFeng
ZhangBiao 2021-04-14 20:11:53 +08:00
parent 16625adb84
commit 12a4d787c2
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ function FormationEditPopup:BindEvent()
table.insert(dids,v.did)
end
table.sort(dids,function (a,b)
return HeroManager.GetSingleHeroData(a.did).warPower > HeroManager.GetSingleHeroData(b.did).warPower
return HeroManager.GetSingleHeroData(a).warPower >= HeroManager.GetSingleHeroData(b).warPower
end)
if #choosedList <= maxNum and #choosedList > 0 then
NetManager.TrialHeroInfoSaveRequest(dids,function(msg)