修复巅峰赛按钮时间显示0的问题
parent
cdc5c07b84
commit
2d9d097d98
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue