引导时不主动弹每日挑战任务弹窗

This commit is contained in:
Fang 2023-06-06 10:23:27 +08:00
parent bfa156bdb5
commit 1bc3b686f5

View File

@ -35,7 +35,7 @@ function MainComp:refreshModule(selectModule)
elseif self.curModuleType == GConst.MainCityConst.MAIN_MODULE.DAILY_CHALLENGE then
-- 切换到每日挑战
EventManager:dispatchEvent(EventManager.CUSTOM_EVENT.GO_DAILY_CHALLENGE)
if DataManager.DailyChallengeData:getIsPopTask() then
if not Datamanager.TutorialData:getIsInTutorial() and DataManager.DailyChallengeData:getIsPopTask() then
ModuleManager.DailyChallengeManager:showBattleTaskUI()
end
end