四灵编队修改提交

(cherry picked from commit 191603b77f)
dev_chengFeng
jiaoyangna 2021-09-18 19:19:05 +08:00
parent 71b380cdd2
commit 488753ab83
1 changed files with 2 additions and 2 deletions

View File

@ -196,12 +196,12 @@ end
function this:AddListener() function this:AddListener()
Game.GlobalEvent:AddEvent(GameEvent.Formation.OnFormationChange, this.RefreshPower) Game.GlobalEvent:AddEvent(GameEvent.Formation.OnFormationChange, this.RefreshPower)
Game.GlobalEvent:AddEvent(GameEvent.Formation.OnFormationChange1, this.RefreshPower) Game.GlobalEvent:AddEvent(GameEvent.Formation.OnFormationChange1, this.OnShow)
end end
function this:RemoveListener() function this:RemoveListener()
Game.GlobalEvent:RemoveEvent(GameEvent.Formation.OnFormationChange, this.RefreshPower) Game.GlobalEvent:RemoveEvent(GameEvent.Formation.OnFormationChange, this.RefreshPower)
Game.GlobalEvent:RemoveEvent(GameEvent.Formation.OnFormationChange1, this.RefreshPower) Game.GlobalEvent:RemoveEvent(GameEvent.Formation.OnFormationChange1, this.OnShow)
end end
function this:OnSortingOrderChange() function this:OnSortingOrderChange()