From 8bda8a7ba276b1331b2bf5a1f5263bc64980c05b Mon Sep 17 00:00:00 2001 From: Lennert Claeys Date: Mon, 25 Sep 2023 19:50:15 +0200 Subject: [PATCH] Fix boss music playing on the first wave --- src/renderers/pixiRenderer/renderer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderers/pixiRenderer/renderer.ts b/src/renderers/pixiRenderer/renderer.ts index 473afaa..2be1335 100644 --- a/src/renderers/pixiRenderer/renderer.ts +++ b/src/renderers/pixiRenderer/renderer.ts @@ -443,7 +443,7 @@ class Renderer implements IRenderer { const removeBackgroundMusic = EventSystem.Instance.addEventListener( GameEvent.StartWave, ({ wave }) => { - if (wave === 1 || wave % 10 === 0) { + if (wave % 10 === 0) { MusicController.Instance.queue([Sound.BossMusic]); } }