Added a fix to music restarting when the song ends.

This commit is contained in:
Scott-GH 2020-12-29 23:22:02 -08:00
parent f21e9ad507
commit 359fb83fd7
1 changed files with 1 additions and 1 deletions

View File

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