Merge pull request #322 from ActualMandM/kade-fixinitcrash

check if initalized first before allowing user to skip intro
This commit is contained in:
Kade M
2021-04-26 18:51:15 -07:00
committed by GitHub

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();
}