Merge pull request #132 from Injourn/master

Added a fix to music restarting when the song ends.
This commit is contained in:
Cameron Taylor 2021-01-02 10:37:38 -08:00 committed by GitHub
commit 65394aca3f
1 changed files with 1 additions and 1 deletions

View File

@ -1028,7 +1028,7 @@ class PlayState extends MusicBeatState
function endSong():Void function endSong():Void
{ {
canPause = false; canPause = false;
FlxG.sound.music = new FlxSound();
if (SONG.validScore) if (SONG.validScore)
{ {
#if !switch #if !switch