修复主界面巅峰赛按钮时间显示错误的问题
parent
3effb209bb
commit
0f3b38f85e
|
@ -823,7 +823,7 @@ function this:BindEvent()
|
|||
|
||||
-- 巅峰
|
||||
Util.AddClick(this.topMatchBtn, function()
|
||||
JumpManager.GoJump(57001)
|
||||
UIManager.OpenPanel(UIName.ArenaTopMatchPanel)
|
||||
end)
|
||||
this.BindRedPoint()
|
||||
end
|
||||
|
@ -1409,7 +1409,8 @@ function this.TimeFormat()
|
|||
SetTopMatchActive(false)
|
||||
elseif baseInfo.battleStage == TOP_MATCH_STAGE.CLOSE then
|
||||
SetTopMatchActive(true)
|
||||
local tempTime = baseInfo.endTime - PlayerManager.serverTime
|
||||
local startTime = ArenaTopMatchManager.GetTopMatchTime()
|
||||
local tempTime = startTime - PlayerManager.serverTime
|
||||
this.topMatchTime.text = "距开始\n"..TimeToHMS(tempTime)
|
||||
else
|
||||
SetTopMatchActive(true)
|
||||
|
|
Loading…
Reference in New Issue