1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-11-17 20:32:53 +00:00

Added a fix to music restarting when the song ends.

This commit is contained in:
Scott-GH 2020-12-29 23:22:02 -08:00
parent 1cc08a2241
commit 9c268ab15b

View file

@ -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