bug修复

This commit is contained in:
xiekaidong 2023-09-13 15:34:17 +08:00
parent ed65ae452b
commit 9b86946d2c

View File

@ -178,9 +178,11 @@ function ActBossRushData:getIsOpen()
if not ModuleManager:getIsOpen(ModuleManager.MODULE_KEY.ACTIVITY, true) then if not ModuleManager:getIsOpen(ModuleManager.MODULE_KEY.ACTIVITY, true) then
return false return false
end end
if DataManager:getRegisterTs() <= self:getConditionDay() then -- 前14天的号看不到 if Time:getServerTime() <= DataManager:getRegisterTs() + self:getConditionDay() then -- 前14天的号看不到
if self.fightCount <= 0 then
return false return false
end end
end
local time = Time:getServerTime() local time = Time:getServerTime()
return self.endTime > time and time > self.startTime return self.endTime > time and time > self.startTime
end end