【无尽副本】体力刷新倒计时结束后,页面计时显示不重置,退出重进显示正常
parent
86e49bb7c0
commit
edd52b5eaa
|
@ -205,6 +205,9 @@ function this.ShowCountTime()
|
|||
-- 启动倒计时
|
||||
this.timer = Timer.New(function ()
|
||||
local leftTime = AutoRecoverManager.GetRecoverTime(1)
|
||||
if leftTime < 0 then
|
||||
leftTime = 0
|
||||
end
|
||||
this.actCountTime.text = GetTimeMaoHaoStrBySeconds(math.floor(leftTime)).."后恢复1点"
|
||||
end, 1, -1, true)
|
||||
this.timer:Start()
|
||||
|
|
Loading…
Reference in New Issue