1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-12-25 14:46:43 +00:00

this is better

This commit is contained in:
nebulazorua 2024-05-08 19:56:13 +08:00
parent 6fdc090ecc
commit f5143c2d78

View file

@ -2552,7 +2552,7 @@ class PlayState extends MusicBeatSubState
if (isChartingMode) if (isChartingMode)
{ {
if (FlxG.sound.music != null) FlxG.sound.music.pause(); // Don't reset song position! if (FlxG.sound.music != null) FlxG.sound.music.pause(); // Don't reset song position!
PlayState.instance.close(); // This only works because PlayState is a substate! this.close(); // This only works because PlayState is a substate!
} }
else else
{ {