编队bug

dev_chengFeng
zhangqiang 2020-07-24 11:05:40 +08:00
parent a5e0f98bcd
commit 42959d0257
2 changed files with 4924 additions and 4922 deletions

View File

@ -198,6 +198,7 @@ function this:OnSortingOrderChange()
end
function this:OnOpen(_panelType,...)
-- tempPowerNum=0
this.selectBtn:SetActive(false)
this.passBattle0:SetActive(false)
this.passBattle1:SetActive(false)
@ -227,6 +228,8 @@ end
function this:OnClose()
tempPowerNum = 0
this.formationPower = 0
oldPowerNum = 0
proId=0--面板关闭时 重置筛选按钮为全部
for i = 1, #this.choosedList do
local pos=this.choosedList[i].position
@ -288,7 +291,6 @@ function this.SetCardsData()
this.InitArmPos()
this.InitArmData()
LogRed(#this.choosedList)
--编队为0显示0战力
if #this.choosedList<=0 then
this.formationPower=0