Skip to content

Commit

Permalink
Merge pull request FunkinCrew#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 c7bee2c + 476e767 commit ccda39d
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 ccda39d

Please sign in to comment.