【跨服】算错了跨服前七天的事件

dev_chengFeng
gaoxin 2021-09-26 15:02:33 +08:00
parent 6a71a972e9
commit 59311a8d88
2 changed files with 2 additions and 2 deletions

View File

@ -111,7 +111,7 @@ function this.IsChannelOpen(channel)
end
elseif channel == CHAT_CHANNEL.JUMP_SERVER then
-- 开服前七天, 未跨服都显示未跨服
if GetTimeStamp() - PlayerManager.GetServerOpenTime() < 7*24*60 or PlayerManager.isCross == 0 then
if GetTimeStamp() - PlayerManager.GetServerOpenTime() < 7*24*60*60 or PlayerManager.isCross == 0 then
return false, "未划分跨服分组"
end
end

View File

@ -73,7 +73,7 @@ end-- tab可用性检测
function this.PageTabIsLockCheck(index)
if index == 2 then
-- 开服前七天, 未跨服都不打开跨服排行榜
if GetTimeStamp() - PlayerManager.GetServerOpenTime() < 7*24*60 or PlayerManager.isCross == 0 then
if GetTimeStamp() - PlayerManager.GetServerOpenTime() < 7*24*60*60 or PlayerManager.isCross == 0 then
return true, "未划分跨服分组!"
end
else