feat: Void Corruption 2025 #2865

Merged
Sainan merged 39 commits from Slayer55555/SpaceNinjaServer:void-alerts into main 2025-10-09 00:28:35 -07:00
Showing only changes of commit 55adf8185e - Show all commits

View File

@ -1568,10 +1568,7 @@ export const getWorldState = (buildLabel?: string): IWorldState => {
const voidCorruptionWeeks = config.worldState?.voidCorruption ?? 0;
if (voidCorruptionWeeks > 0) {
worldState.Alerts = [
...worldState.Alerts,
...voidCorruptionAlerts.slice(0, voidCorruptionWeeks)
];
worldState.Alerts = [...worldState.Alerts, ...voidCorruptionAlerts.slice(0, voidCorruptionWeeks)];
}
const isFebruary = date.getUTCMonth() == 1;