bug修复
This commit is contained in:
parent
3e06b26e1f
commit
d003c8a551
@ -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
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user