Skip to content

Commit

Permalink
Fix boss music playing on the first wave
Browse files Browse the repository at this point in the history
  • Loading branch information
lorgan3 committed Sep 25, 2023
1 parent 53421ca commit 8bda8a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderers/pixiRenderer/renderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
}
}
Expand Down

0 comments on commit 8bda8a7

Please sign in to comment.