修复巅峰赛按钮时间显示0的问题
parent
cdc5c07b84
commit
2d9d097d98
|
|
@ -1411,7 +1411,7 @@ function this.TimeFormat()
|
||||||
local startTime = ArenaTopMatchManager.GetTopMatchTime()
|
local startTime = ArenaTopMatchManager.GetTopMatchTime()
|
||||||
local tempTime = startTime - PlayerManager.serverTime
|
local tempTime = startTime - PlayerManager.serverTime
|
||||||
-- 当日五点开始显示
|
-- 当日五点开始显示
|
||||||
if tempTime < 16 * 60 * 60 then
|
if tempTime > 0 and tempTime < 16 * 60 * 60 then
|
||||||
SetTopMatchActive(true)
|
SetTopMatchActive(true)
|
||||||
this.topMatchTime.text = "距开始\n"..TimeToHMS(tempTime)
|
this.topMatchTime.text = "距开始\n"..TimeToHMS(tempTime)
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue