diff --git a/lua/app/module/formation/formation_manager.lua b/lua/app/module/formation/formation_manager.lua index 2c3852d1..65bcc78c 100644 --- a/lua/app/module/formation/formation_manager.lua +++ b/lua/app/module/formation/formation_manager.lua @@ -1,11 +1,7 @@ local FormationManager = class("FormationManager", BaseModule) -- 主线编队 -function FormationManager:upHeroToStageFormation(heroIds, matchType) - local formation = DataManager.FormationData:getStageFormation() - if formation[matchType] == heroId then - return - end +function FormationManager:upHeroToStageFormation(heroIds) local args = { type = 1, heroes = heroIds