百宝商会 提交

dev_chengFeng
jiaoyangna 2021-05-29 22:16:50 +08:00
parent 4898fb0ed7
commit b91e550147
1 changed files with 3 additions and 1 deletions

View File

@ -215,7 +215,9 @@ function this.TimeCountDown()
this.timer:Stop()
this.timer = nil
end
local timeDown = CalculateSecondsNowTo_N_OClock(0) + 3600
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