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