【百宝商会】剩余时间显示错误,应显示当天刷新时间
parent
df94ccee38
commit
12fcc3ea14
|
@ -215,9 +215,9 @@ function this.TimeCountDown()
|
|||
this.timer:Stop()
|
||||
this.timer = nil
|
||||
end
|
||||
local endTime = ActivityGiftManager.GetTaskEndTime(ActivityTypeDef.TreasureStore)
|
||||
local timeDown = endTime - GetTimeStamp()
|
||||
--local timeDown = CalculateSecondsNowTo_N_OClock(24)
|
||||
-- local endTime = ActivityGiftManager.GetTaskEndTime(ActivityTypeDef.TreasureStore)
|
||||
-- local timeDown = endTime - GetTimeStamp()
|
||||
local timeDown = CalculateSecondsNowTo_N_OClock(24)
|
||||
this.time.text = Language[10023]..TimeToHMS(timeDown)
|
||||
this.timer = Timer.New(function()
|
||||
timeDown = timeDown - 1
|
||||
|
|
Loading…
Reference in New Issue