Remove stupid outdated crap
This commit is contained in:
parent
6ce80b1c5b
commit
26c281b91d
@ -280,19 +280,7 @@ class TitleState extends MusicBeatState
|
|||||||
|
|
||||||
var version:String = "v" + Application.current.meta.get('version');
|
var version:String = "v" + Application.current.meta.get('version');
|
||||||
|
|
||||||
if (version.trim() != NGio.GAME_VER_NUMS.trim() && !OutdatedSubState.leftState)
|
FlxG.switchState(new MainMenuState());
|
||||||
{
|
|
||||||
trace('OLD VERSION!');
|
|
||||||
trace('old ver');
|
|
||||||
trace(version.trim());
|
|
||||||
trace('cur ver');
|
|
||||||
trace(NGio.GAME_VER_NUMS.trim());
|
|
||||||
FlxG.switchState(new OutdatedSubState());
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
FlxG.switchState(new MainMenuState());
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
// FlxG.sound.play(Paths.music('titleShoot'), 0.7);
|
// FlxG.sound.play(Paths.music('titleShoot'), 0.7);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user