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 authored and GitHub committed 2021-04-26 18:51:15 -07:00
commit ac523fb120
1 file changed
+1 -1
+1 -1
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();
}