Skip to content

Commit

Permalink
eh
Browse files Browse the repository at this point in the history
  • Loading branch information
PurSnake committed Aug 29, 2022
1 parent a9988ac commit 6aee4e3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion source/grafex/states/substates/PrelaunchingState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ class PrelaunchingState extends MusicBeatState
public static var volumeUpKeys:Array<FlxKey> = [FlxKey.NUMPADPLUS, FlxKey.PLUS];

public static var leftState:Bool = false;
private static var alreadySeen:Bool = false;

public static var link:String = 'https://raw.githubusercontent.com/JustXale/fnf-grafex/raw/versionCheck.txt'; // i hate github now

Expand Down Expand Up @@ -101,7 +102,9 @@ class PrelaunchingState extends MusicBeatState
{
txts.push(["Couldn't connect to the server", '']);
}
#end //MusicBeatState.switchState(new TitleState());
#end
if(alreadySeen)
MusicBeatState.switchState(new TitleState());

txts.push(["Thanks for using our engine! <3\n- with love\n Grafex Team", '']);

Expand Down Expand Up @@ -246,6 +249,7 @@ class PrelaunchingState extends MusicBeatState
{
arrowTxt.alpha = 1;
leftState = true;
alreadySeen = true;
//FlxG.camera.fade(FlxColor.BLACK, 3, true);
FlxTween.tween(txt, {alpha: 0}, 3);
FlxTween.tween(arrowTxt, {alpha: 0}, 3);
Expand Down

0 comments on commit 6aee4e3

Please sign in to comment.