diff --git a/source/OutdatedSubState.hx b/source/OutdatedSubState.hx index 962edd9..a59bfff 100644 --- a/source/OutdatedSubState.hx +++ b/source/OutdatedSubState.hx @@ -16,17 +16,6 @@ class OutdatedSubState extends MusicBeatState super.create(); var bg:FlxSprite = new FlxSprite().makeGraphic(FlxG.width, FlxG.height, FlxColor.BLACK); 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 " - + ver - + " while the most recent version is " - + NGio.GAME_VER - + "! Press Space to go to itch.io, or ESCAPE to ignore this!!", - 32); - txt.setFormat("VCR OSD Mono", 32, FlxColor.WHITE, CENTER); - txt.screenCenter(); - add(txt); } override function update(elapsed:Float) diff --git a/source/TitleState.hx b/source/TitleState.hx index c71db52..06fabd1 100644 --- a/source/TitleState.hx +++ b/source/TitleState.hx @@ -271,19 +271,7 @@ class TitleState extends MusicBeatState new FlxTimer().start(2, function(tmr:FlxTimer) { - // Check if version is outdated - - var version:String = "v" + Application.current.meta.get('version'); - - if (version.trim() != NGio.GAME_VER.trim() && !OutdatedSubState.leftState) - { - trace('OLD VERSION!'); - FlxG.switchState(new OutdatedSubState()); - } - else - { - FlxG.switchState(new MainMenuState()); - } + FlxG.switchState(new MainMenuState()); }); // FlxG.sound.play('assets/music/titleShoot' + TitleState.soundExt, 0.7); }