【百宝商会】剩余时间显示错误,应显示当天刷新时间

dev_chengFeng
jiaoyangna 2021-06-01 11:44:49 +08:00
parent df94ccee38
commit 12fcc3ea14
1 changed files with 3 additions and 3 deletions

View File

@ -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