feat: sortie rotation #1453

Merged
Sainan merged 5 commits from AMelonInsideLemon/SpaceNinjaServer:sortie into main 2025-04-07 05:29:22 -07:00
Showing only changes of commit 15a1ac1ce1 - Show all commits

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