From 0f66759bb58209eb3554c023dd8fb05e27b5afdb Mon Sep 17 00:00:00 2001 From: Joalor64 Date: Sat, 23 Nov 2024 21:02:48 -0500 Subject: [PATCH] Update PlayState.hx --- source/states/PlayState.hx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/states/PlayState.hx b/source/states/PlayState.hx index 461c6d2..b480ec4 100644 --- a/source/states/PlayState.hx +++ b/source/states/PlayState.hx @@ -455,8 +455,8 @@ class PlayState extends ExtendableState { } } - var komaniSequence:Array = ['up', 'up', 'down', 'down', 'left', 'right', 'left', 'right']; - if (Input.justPressed(komaniSequence[konami])) { + var konamiSequence:Array = ['up', 'up', 'down', 'down', 'left', 'right', 'left', 'right']; + if (Input.justPressed(konamiSequence[konami])) { konami += 1; if (konami >= konamiSequence.length) { FlxG.sound.play(Paths.sound('unlock'));