From 6a3f8748c34e99b4c1ce88b6eb3d8ab4240f0175 Mon Sep 17 00:00:00 2001 From: wangzhenxing <1545929779@qq.com> Date: Tue, 11 Jun 2024 17:00:22 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BD=97=E6=B5=AE=E4=BA=89=E9=94=8B=E4=B8=8A?= =?UTF-8?q?=E9=98=B5=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Modules/Formation/View/JumpServerHightLadderFormation.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Formation/View/JumpServerHightLadderFormation.lua b/Assets/ManagedResources/~Lua/Modules/Formation/View/JumpServerHightLadderFormation.lua index fa91dd27d3..7061465953 100644 --- a/Assets/ManagedResources/~Lua/Modules/Formation/View/JumpServerHightLadderFormation.lua +++ b/Assets/ManagedResources/~Lua/Modules/Formation/View/JumpServerHightLadderFormation.lua @@ -58,7 +58,7 @@ function this.GetHeroList(proId) local allHero={} for i = 1,#currHeros do local hero = currHeros[i] - if hero and (hero.heroConfig.PropertyName==JumpServerManager.arenaType or hero.heroConfig.PropertyName==5) then + if hero and (hero.heroConfig.PropertyName==proType or hero.heroConfig.PropertyName==5) then table.insert(allHero,hero) end end @@ -78,7 +78,7 @@ function this.GetOneKeyUpHeroList() local num=0 for i = 1,#currHeros do local hero = currHeros[i] - if hero and (hero.heroConfig.PropertyName==JumpServerManager.arenaType or (hero.heroConfig.PropertyName==5 and num<=limitNum)) then + if hero and (hero.heroConfig.PropertyName==proType or (hero.heroConfig.PropertyName==5 and num<=limitNum)) then if hero.heroConfig.PropertyName==5 then num=num+1 end