Skip to content

Commit

Permalink
Added a fix to music restarting when the song ends.
Browse files Browse the repository at this point in the history
  • Loading branch information
Injourn committed Dec 30, 2020
1 parent 1cc08a2 commit 9c268ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/PlayState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -1028,7 +1028,7 @@ class PlayState extends MusicBeatState
function endSong():Void
{
canPause = false;

FlxG.sound.music = new FlxSound();
if (SONG.validScore)
{
#if !switch
Expand Down

0 comments on commit 9c268ab

Please sign in to comment.