diff --git a/src/controllers/dynamic/worldStateController.ts b/src/controllers/dynamic/worldStateController.ts index 1c738117..70b29b36 100644 --- a/src/controllers/dynamic/worldStateController.ts +++ b/src/controllers/dynamic/worldStateController.ts @@ -167,7 +167,7 @@ export const worldStateController: RequestHandler = (req, res) => { // Sortie cycling every day { const dayStart = getTorontoTimeAtHour(EPOCH + day * 86400000, 12); - const dayEnd = dayStart + 86400000; + const dayEnd = getTorontoTimeAtHour(EPOCH + (day + 1) * 86400000, 12); const rng = new CRng(day);