Merge pull request #1651 from Lil-Parrot/Instant-Respawn-Option

Instant Respawn Option
This commit is contained in:
Kade M
2021-08-08 13:43:02 -07:00
committed by GitHub
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();