diff --git a/source/funkin/game/GameOverSubstate.hx b/source/funkin/game/GameOverSubstate.hx index 7abb8d9d..30921825 100644 --- a/source/funkin/game/GameOverSubstate.hx +++ b/source/funkin/game/GameOverSubstate.hx @@ -100,7 +100,10 @@ class GameOverSubstate extends MusicBeatSubstate { isEnding = true; character.playAnim('deathConfirm', true); - FlxG.sound.music.stop(); + if (FlxG.sound.music != null) + FlxG.sound.music.stop(); + FlxG.sound.music = null; + var sound = FlxG.sound.play(Paths.sound(retrySFX)); var secsLength:Float = sound.length / 1000;