From 488753ab83a0f289f49b21da6146824520d64780 Mon Sep 17 00:00:00 2001 From: jiaoyangna <3046463818@qq.com> Date: Sat, 18 Sep 2021 19:19:05 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=9B=E7=81=B5=E7=BC=96=E9=98=9F=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (cherry picked from commit 191603b77ffc29aa08effdae5466c38bd258b5c7) --- .../~Lua/Modules/Formation/FormationPanelV2.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Formation/FormationPanelV2.lua b/Assets/ManagedResources/~Lua/Modules/Formation/FormationPanelV2.lua index aa3d0c55da..a334883598 100644 --- a/Assets/ManagedResources/~Lua/Modules/Formation/FormationPanelV2.lua +++ b/Assets/ManagedResources/~Lua/Modules/Formation/FormationPanelV2.lua @@ -196,12 +196,12 @@ end function this:AddListener() 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 function this:RemoveListener() 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 function this:OnSortingOrderChange()