check if initalized first before allowing user to skip intro

This commit is contained in:
M&M 2021-04-26 18:34:24 -07:00
parent 012a9c693d
commit 2eb6383549

View File

@ -335,7 +335,7 @@ class TitleState extends MusicBeatState
// FlxG.sound.play(Paths.music('titleShoot'), 0.7);
}
if (pressedEnter && !skippedIntro)
if (pressedEnter && !skippedIntro && initialized)
{
skipIntro();
}