mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-08-19 23:15:15 +00:00
Fix a funny bug when restarting after game over
This commit is contained in:
parent
7932094042
commit
07bd2e44cd
|
@ -289,7 +289,7 @@ class GameOverSubState extends MusicBeatSubState
|
|||
{
|
||||
gameOverMusic.loadEmbedded(musicPath);
|
||||
gameOverMusic.volume = startingVolume;
|
||||
gameOverMusic.looped = true;
|
||||
gameOverMusic.looped = !isEnding;
|
||||
gameOverMusic.play();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue