remove slice
All checks were successful
Build / build (pull_request) Successful in 1m20s

This commit is contained in:
Slayer55555 2025-10-07 07:34:51 -07:00
parent 55adf8185e
commit 5a8be1c483

View File

@ -1568,7 +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[voidCorruptionWeeks - 1]];
}
const isFebruary = date.getUTCMonth() == 1;