improve flashing lights option

This commit is contained in:
M&M
2021-05-10 00:17:03 -07:00
parent 00d15a3cfb
commit 06955b344a
3 changed files with 42 additions and 27 deletions

View File

@ -295,7 +295,8 @@ class TitleState extends MusicBeatState
NGio.unlockMedal(61034);
#end
titleText.animation.play('press');
if (FlxG.save.data.flashing)
titleText.animation.play('press');
FlxG.camera.flash(FlxColor.WHITE, 1);
FlxG.sound.play(Paths.sound('confirmMenu'), 0.7);