编队bug
parent
a5e0f98bcd
commit
42959d0257
File diff suppressed because it is too large
Load Diff
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue