bug修复

This commit is contained in:
xiekaidong 2023-09-04 16:51:34 +08:00
parent 3e06b26e1f
commit d003c8a551
2 changed files with 4 additions and 2 deletions

View File

@ -1118,7 +1118,7 @@ function MainCityUI:checkMainPop()
return return
end end
if DataManager.ActBossRushData:getIsOpen() then -- 弹窗 if DataManager.ActBossRushData:getIsOpen() and not DataManager.TutorialData:getIsInTutorial() then -- 弹窗
if not DataManager.ActBossRushData:getMarkPoped() then if not DataManager.ActBossRushData:getMarkPoped() then
if ModuleManager.ActBossRushManager:showPopUI() then if ModuleManager.ActBossRushManager:showPopUI() then
return return

View File

@ -163,7 +163,9 @@ function ActBossRushData:getConditionDay()
end end
function ActBossRushData:getIsOpen() function ActBossRushData:getIsOpen()
-- 开启条件 if not ModuleManager:getIsOpen(ModuleManager.MODULE_KEY.ACTIVITY, true) then
return false
end
if DataManager:getRegisterTs() <= self:getConditionDay() then -- 前14天的号看不到 if DataManager:getRegisterTs() <= self:getConditionDay() then -- 前14天的号看不到
return false return false
end end