From b2be4d375e568da8d6998d186352ae7f8998bd78 Mon Sep 17 00:00:00 2001 From: Fang Date: Thu, 29 Jun 2023 10:18:19 +0800 Subject: [PATCH] fix --- lua/app/module/chapter/chapter_manager.lua | 2 +- lua/app/module/daily_challenge/daily_challenge_manager.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/app/module/chapter/chapter_manager.lua b/lua/app/module/chapter/chapter_manager.lua index c8926c96..91c2d3bf 100644 --- a/lua/app/module/chapter/chapter_manager.lua +++ b/lua/app/module/chapter/chapter_manager.lua @@ -23,7 +23,7 @@ function ChapterManager:openBoxFinish(result) end function ChapterManager:startFight() - if not DataManager.ArenaData:formationIsFull(GConst.BattleConst.BATTLE_TYPE.STAGE) then + if not DataManager.FormationData:formationIsFull(GConst.BattleConst.BATTLE_TYPE.STAGE) then GFunc.showToast(I18N:getGlobalText(I18N.GlobalConst.BATTLE_DESC_8)) return end diff --git a/lua/app/module/daily_challenge/daily_challenge_manager.lua b/lua/app/module/daily_challenge/daily_challenge_manager.lua index f3551261..3e7d759b 100644 --- a/lua/app/module/daily_challenge/daily_challenge_manager.lua +++ b/lua/app/module/daily_challenge/daily_challenge_manager.lua @@ -54,7 +54,7 @@ function DailyChallengeManager:startChallenge() end -- 检查阵容 - if not DataManager.ArenaData:formationIsFull(GConst.BattleConst.BATTLE_TYPE.STAGE) then + if not DataManager.FormationData:formationIsFull(GConst.BattleConst.BATTLE_TYPE.STAGE) then GFunc.showToast(I18N:getGlobalText(I18N.GlobalConst.BATTLE_DESC_8)) return end