mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2025-11-29 15:56:06 +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.loadEmbedded(musicPath);
|
||||||
gameOverMusic.volume = startingVolume;
|
gameOverMusic.volume = startingVolume;
|
||||||
gameOverMusic.looped = true;
|
gameOverMusic.looped = !isEnding;
|
||||||
gameOverMusic.play();
|
gameOverMusic.play();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue