7 no longer sends you to the void, also version bump

This commit is contained in:
KadeDeveloper 2021-07-20 12:48:25 -07:00
parent 34828ef6b4
commit c403a6a40a
2 changed files with 4 additions and 2 deletions

View File

@ -38,7 +38,7 @@ class MainMenuState extends MusicBeatState
var newGaming2:FlxText; var newGaming2:FlxText;
public static var firstStart:Bool = true; public static var firstStart:Bool = true;
public static var nightly:String = "-Pre-Release"; public static var nightly:String = "-Pre-Release2";
public static var kadeEngineVer:String = "1.6" + nightly; public static var kadeEngineVer:String = "1.6" + nightly;
public static var gameVer:String = "0.2.7.1"; public static var gameVer:String = "0.2.7.1";

View File

@ -180,6 +180,7 @@ class PlayState extends MusicBeatState
public var camHUD:FlxCamera; public var camHUD:FlxCamera;
private var camGame:FlxCamera; private var camGame:FlxCamera;
public var cannotDie = false;
public static var offsetTesting:Bool = false; public static var offsetTesting:Bool = false;
@ -2406,6 +2407,7 @@ class PlayState extends MusicBeatState
#end #end
removedVideo = true; removedVideo = true;
} }
cannotDie = true;
#if windows #if windows
DiscordClient.changePresence("Chart Editor", null, null, true); DiscordClient.changePresence("Chart Editor", null, null, true);
#end #end
@ -2784,7 +2786,7 @@ class PlayState extends MusicBeatState
} }
} }
if (health <= 0) if (health <= 0 && !cannotDie)
{ {
if (!usedTimeTravel) if (!usedTimeTravel)
{ {