Update src/services/worldStateService.ts
Some checks failed
Build / build (pull_request) Failing after 27s

This commit is contained in:
Slayer55555 2025-10-07 04:06:36 -07:00
parent 88a765cda0
commit 34d0ec5067

View File

@ -1566,7 +1566,7 @@ export const getWorldState = (buildLabel?: string): IWorldState => {
fullyStockBaro(vt);
}
if (config.worldState?.voidCorruption) {
worldState.Alerts.push(...voidCorruptionAlerts.map(alert => structuredClone<IAlert>(alert)));
worldState.Alerts.push(...voidCorruptionAlerts);
}
const isFebruary = date.getUTCMonth() == 1;
if (config.worldState?.starDaysOverride ?? isFebruary) {