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

This commit is contained in:
AMelonInsideLemon 2025-04-04 04:26:59 +02:00
parent d123f6cc62
commit b834b51904

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);