This commit is contained in:
xiekaidong 2023-06-29 10:29:58 +08:00
commit efb9e79c4d
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ function ChapterManager:openBoxFinish(result)
end end
function ChapterManager:startFight() 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)) GFunc.showToast(I18N:getGlobalText(I18N.GlobalConst.BATTLE_DESC_8))
return return
end end

View File

@ -54,7 +54,7 @@ function DailyChallengeManager:startChallenge()
end 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)) GFunc.showToast(I18N:getGlobalText(I18N.GlobalConst.BATTLE_DESC_8))
return return
end end