diff --git a/src/services/worldStateService.ts b/src/services/worldStateService.ts index 70d16e0c..2595d9a9 100644 --- a/src/services/worldStateService.ts +++ b/src/services/worldStateService.ts @@ -1567,15 +1567,13 @@ export const getWorldState = (buildLabel?: string): IWorldState => { } const vcWeeks = [ - ["voidCorruptionWeek1", 0], - ["voidCorruptionWeek2", 1], - ["voidCorruptionWeek3", 2], - ["voidCorruptionWeek4", 3], + ["voidCorruptionWeek1", 0], + ["voidCorruptionWeek2", 1], + ["voidCorruptionWeek3", 2], + ["voidCorruptionWeek4", 3], ] as const; - const selected = vcWeeks - .filter(([flag]) => (config.worldState)?.[flag]) - .map(([, idx]) => voidCorruptionAlerts[idx]); + const selected = vcWeeks.filter(([flag]) => config.worldState?.[flag]).map(([, idx]) => voidCorruptionAlerts[idx]); if (selected.length) { worldState.Alerts = [...worldState.Alerts, ...selected];