Fixed addEventWavesToMaps()
not adding waves to correct location + now wipes out existing wave data
This commit is contained in:
parent
ad9ae4fb52
commit
8055a00fc8
@ -442,8 +442,8 @@ export class SeasonalEventService {
|
||||
this.logger.warning(`Unable to add: ${eventType} wave to: ${mapKey}`);
|
||||
continue;
|
||||
}
|
||||
|
||||
locations[mapKey].base.BossLocationSpawn.push(...wavesToAdd);
|
||||
locations[mapKey].base.waves = [];
|
||||
locations[mapKey].base.waves.push(...wavesToAdd);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user