Skip to content

Commit

Permalink
i should be smart enough to not make those kind of mistakes, but here…
Browse files Browse the repository at this point in the history
… we are
  • Loading branch information
muckelba committed Nov 16, 2023
1 parent 25426f8 commit 7aa5e82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/routes/superglidetrainer/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -559,9 +559,9 @@
let key = await waitingKeypress();
console.log(`Pressed key "${key}"`);
if (key.toLowerCase() === $settings.mnk.crouch.bind) {
if (key.toLowerCase() === $settings.mnk.crouch.bind.toLowerCase()) {
handleCrouch();
} else if (key.toLowerCase() === $settings.mnk.jump.bind) {
} else if (key.toLowerCase() === $settings.mnk.jump.bind.toLowerCase()) {
handleJump();
} else {
instructions = `Other key pressed, ignoring`;
Expand Down

0 comments on commit 7aa5e82

Please sign in to comment.