From 2eb638354952dda27623bac491ac85201ebd2149 Mon Sep 17 00:00:00 2001 From: M&M Date: Mon, 26 Apr 2021 18:34:24 -0700 Subject: [PATCH] check if initalized first before allowing user to skip intro --- source/TitleState.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/TitleState.hx b/source/TitleState.hx index 31d1363..a0b0658 100644 --- a/source/TitleState.hx +++ b/source/TitleState.hx @@ -335,7 +335,7 @@ class TitleState extends MusicBeatState // FlxG.sound.play(Paths.music('titleShoot'), 0.7); } - if (pressedEnter && !skippedIntro) + if (pressedEnter && !skippedIntro && initialized) { skipIntro(); }