Instant Respawn

This commit is contained in:
Lil-Parrot
2021-08-08 00:10:12 -05:00
parent c69e83d8e0
commit 24acbc5f74
5 changed files with 40 additions and 0 deletions

View File

@@ -59,6 +59,11 @@ class GameOverSubstate extends MusicBeatSubstate
endBullshit();
}
if(FlxG.save.data.InstantRespawn)
{
LoadingState.loadAndSwitchState(new PlayState());
}
if (controls.BACK)
{
FlxG.sound.music.stop();