From 705c8b99ecee698f35e18294afa66fd7ccbffdd6 Mon Sep 17 00:00:00 2001 From: vurtne14 Date: Fri, 14 Mar 2025 11:41:59 +0800 Subject: [PATCH] 1 --- Assets/ManagedResources/~Lua/Common/functions.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/ManagedResources/~Lua/Common/functions.lua b/Assets/ManagedResources/~Lua/Common/functions.lua index 710eea6d7e..4f158e26c6 100644 --- a/Assets/ManagedResources/~Lua/Common/functions.lua +++ b/Assets/ManagedResources/~Lua/Common/functions.lua @@ -1815,7 +1815,7 @@ function CalculateSecondsNowTo_N_OClock(n) --- 标准时间戳从1970年1月1日8点开始,加上八个小时的秒数,使其从0点开始 --- 8*60*60 = 28800 --- 24*60*60 = 86400 - local todayPassSeconds = (curTimeStemp + 28800) % 86400 + local todayPassSeconds = (curTimeStemp + 25200) % 86400 local targetSeconds = n * 3600 --- 60*60 = 3600 if todayPassSeconds <= targetSeconds then return targetSeconds - todayPassSeconds