dev_chengFeng
ZhangBiao 2021-04-14 20:06:07 +08:00
parent 5ae5555011
commit 16625adb84
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.heroId).warPower > HeroManager.GetSingleHeroData(b.heroId).warPower
return HeroManager.GetSingleHeroData(a.did).warPower > HeroManager.GetSingleHeroData(b.did).warPower
end)
if #choosedList <= maxNum and #choosedList > 0 then
NetManager.TrialHeroInfoSaveRequest(dids,function(msg)