mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-11-30 18:53:35 +00:00
Added a fix to music restarting when the song ends.
This commit is contained in:
parent
37b69c4f40
commit
47c26e634e
|
@ -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…
Reference in a new issue