Update worldStateController.ts
All checks were successful
Build / build (20) (pull_request) Successful in 41s
Build / build (18) (pull_request) Successful in 1m19s
Build / build (22) (pull_request) Successful in 1m15s

This commit is contained in:
AMelonInsideLemon 2025-04-04 04:26:59 +02:00
parent 18f6db7cdd
commit 15a1ac1ce1

View File

@ -167,7 +167,7 @@ export const worldStateController: RequestHandler = (req, res) => {
// Sortie cycling every day // Sortie cycling every day
{ {
const dayStart = getTorontoTimeAtHour(EPOCH + day * 86400000, 12); const dayStart = getTorontoTimeAtHour(EPOCH + day * 86400000, 12);
const dayEnd = dayStart + 86400000; const dayEnd = getTorontoTimeAtHour(EPOCH + (day + 1) * 86400000, 12);
const rng = new CRng(day); const rng = new CRng(day);