Added a fix to music restarting when the song ends.
This commit is contained in:
parent
1cc08a2241
commit
9c268ab15b
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user