update crap
This commit is contained in:
@ -11,6 +11,8 @@ class OutdatedSubState extends MusicBeatState
|
||||
{
|
||||
public static var leftState:Bool = false;
|
||||
|
||||
public static var needVer:String = "IDFK LOL";
|
||||
|
||||
override function create()
|
||||
{
|
||||
super.create();
|
||||
@ -18,11 +20,11 @@ class OutdatedSubState extends MusicBeatState
|
||||
add(bg);
|
||||
var ver = "v" + Application.current.meta.get('version');
|
||||
var txt:FlxText = new FlxText(0, 0, FlxG.width,
|
||||
"HEY! You're running an outdated version of the game!\nCurrent version is "
|
||||
"Kade Engine is Outdated!\n"
|
||||
+ ver
|
||||
+ " while the most recent version is "
|
||||
+ NGio.GAME_VER
|
||||
+ "! Press Space to go to itch.io, or ESCAPE to ignore this!!",
|
||||
+ " is your current version while the most recent version is "
|
||||
+ needVer
|
||||
+ "! Press Space to go to the github or ESCAPE to ignore this!!",
|
||||
32);
|
||||
txt.setFormat("VCR OSD Mono", 32, FlxColor.WHITE, CENTER);
|
||||
txt.screenCenter();
|
||||
@ -33,7 +35,7 @@ class OutdatedSubState extends MusicBeatState
|
||||
{
|
||||
if (controls.ACCEPT)
|
||||
{
|
||||
FlxG.openURL("https://ninja-muffin24.itch.io/funkin");
|
||||
FlxG.openURL("https://github.com/KadeDev/Kade-Engine/releases/latest");
|
||||
}
|
||||
if (controls.BACK)
|
||||
{
|
||||
|
Reference in New Issue
Block a user