Skip to content

Commit

Permalink
Update PlayState.hx
Browse files Browse the repository at this point in the history
  • Loading branch information
Joalor64GH authored Nov 24, 2024
1 parent c3f3089 commit 0f66759
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/states/PlayState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -455,8 +455,8 @@ class PlayState extends ExtendableState {
}
}

var komaniSequence:Array<String> = ['up', 'up', 'down', 'down', 'left', 'right', 'left', 'right'];
if (Input.justPressed(komaniSequence[konami])) {
var konamiSequence:Array<String> = ['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'));
Expand Down

0 comments on commit 0f66759

Please sign in to comment.