修复巅峰赛按钮时间显示0的问题

dev_chengFeng
gaoxin 2020-08-28 12:08:23 +08:00
parent cdc5c07b84
commit 2d9d097d98
1 changed files with 1 additions and 1 deletions

View File

@ -1411,7 +1411,7 @@ function this.TimeFormat()
local startTime = ArenaTopMatchManager.GetTopMatchTime()
local tempTime = startTime - PlayerManager.serverTime
-- 当日五点开始显示
if tempTime < 16 * 60 * 60 then
if tempTime > 0 and tempTime < 16 * 60 * 60 then
SetTopMatchActive(true)
this.topMatchTime.text = "距开始\n"..TimeToHMS(tempTime)
else