From 8055a00fc820574e8d4cbf3930fb9fefa501f1e8 Mon Sep 17 00:00:00 2001 From: Dev Date: Fri, 1 Nov 2024 13:22:16 +0000 Subject: [PATCH] Fixed `addEventWavesToMaps()` not adding waves to correct location + now wipes out existing wave data --- project/src/services/SeasonalEventService.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/project/src/services/SeasonalEventService.ts b/project/src/services/SeasonalEventService.ts index 34a06e61..4690ac40 100644 --- a/project/src/services/SeasonalEventService.ts +++ b/project/src/services/SeasonalEventService.ts @@ -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); } }