Update src/services/worldStateService.ts
All checks were successful
Build / build (pull_request) Successful in 1m19s
All checks were successful
Build / build (pull_request) Successful in 1m19s
This commit is contained in:
parent
d9349137de
commit
55adf8185e
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user