Skip to content

Commit

Permalink
Merge pull request #132 from Injourn/master
Browse files Browse the repository at this point in the history
Added a fix to music restarting when the song ends.
  • Loading branch information
ninjamuffin99 authored Jan 2, 2021
2 parents b79acac + 359fb83 commit 65394ac
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 65394ac

Please sign in to comment.