From 359fb83fd7cca05f3aeec6a6bfd01b4b50b6dd6c Mon Sep 17 00:00:00 2001 From: Scott-GH Date: Tue, 29 Dec 2020 23:22:02 -0800 Subject: [PATCH] Added a fix to music restarting when the song ends. --- source/PlayState.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/PlayState.hx b/source/PlayState.hx index 404a5d30c..ecc649316 100644 --- a/source/PlayState.hx +++ b/source/PlayState.hx @@ -1028,7 +1028,7 @@ class PlayState extends MusicBeatState function endSong():Void { canPause = false; - + FlxG.sound.music = new FlxSound(); if (SONG.validScore) { #if !switch