【跨服】算错了跨服前七天的事件
parent
6a71a972e9
commit
59311a8d88
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue