Move version check screen to TitleState

This commit is contained in:
Gede Hari
2021-01-05 16:29:32 +08:00
parent 7b2c930808
commit 6c3f1df72f
2 changed files with 17 additions and 8 deletions
-7
View File
@@ -89,13 +89,6 @@ class MainMenuState extends MusicBeatState
versionShit.setFormat("VCR OSD Mono", 16, FlxColor.WHITE, LEFT, FlxTextBorderStyle.OUTLINE, FlxColor.BLACK);
add(versionShit);
if (versionShit.text.trim() != NGio.GAME_VER.trim() && !OutdatedSubState.leftState)
{
trace('OLD VERSION!');
FlxG.switchState(new OutdatedSubState());
}
// NG.core.calls.event.logEvent('swag').send();
changeItem();