From f357dbb0bad7101904e2384f643cc42cd97ad763 Mon Sep 17 00:00:00 2001 From: LarryFrosty <80482125+LarryFrosty@users.noreply.github.com> Date: Tue, 27 Aug 2024 20:26:30 +0800 Subject: [PATCH] Fix Game Over music not looping --- source/substates/GameOverSubstate.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/substates/GameOverSubstate.hx b/source/substates/GameOverSubstate.hx index 08544795598..b4f870815ed 100644 --- a/source/substates/GameOverSubstate.hx +++ b/source/substates/GameOverSubstate.hx @@ -84,7 +84,7 @@ class GameOverSubstate extends MusicBeatSubstate PlayState.instance.setOnScripts('inGameOver', true); PlayState.instance.callOnScripts('onGameOverStart', []); - FlxG.sound.music.loadEmbedded(Paths.music(loopSoundName)); + FlxG.sound.music.loadEmbedded(Paths.music(loopSoundName), true); if(characterName == 'pico-dead') {