feat: Void Corruption 2025 #2865
@ -1573,9 +1573,7 @@ export const getWorldState = (buildLabel?: string): IWorldState => {
|
|||||||
["voidCorruptionWeek4", 3],
|
["voidCorruptionWeek4", 3],
|
||||||
] as const;
|
] as const;
|
||||||
|
|
||||||
const selected = vcWeeks
|
const selected = vcWeeks.filter(([flag]) => config.worldState?.[flag]).map(([, idx]) => voidCorruptionAlerts[idx]);
|
||||||
.filter(([flag]) => (config.worldState)?.[flag])
|
|
||||||
.map(([, idx]) => voidCorruptionAlerts[idx]);
|
|
||||||
|
|
||||||
if (selected.length) {
|
if (selected.length) {
|
||||||
worldState.Alerts = [...worldState.Alerts, ...selected];
|
worldState.Alerts = [...worldState.Alerts, ...selected];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user