【家园】升级倒计时显示错误修改

dev_chengFeng
ZhangBiao 2022-01-10 17:38:02 +08:00
parent fa5d4001a2
commit 567f5c1aa0
1 changed files with 2 additions and 2 deletions

View File

@ -145,9 +145,9 @@ function this:CulculateTime(time)
elseif time >= 60 and time < 3600 then
return math.floor(time/60)..""..(time%60)..""
elseif time >= 3600 and time < 86400 then
return math.floor(time/3600)..""..math.floor(time/60)..""
return math.floor(time/3600)..""..math.floor((time%3600)/60)..""
elseif time >= 86400 then
return math.floor(time/86400)..""..math.floor(time/3600)..""
return math.floor(time/86400)..""..math.floor((time%86400)/3600)..""
end
end