Skip to content

Commit

Permalink
lowercase mnk inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
muckelba committed Nov 15, 2023
1 parent 77e43b1 commit 25426f8
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 === $settings.mnk.crouch.bind) {
if (key.toLowerCase() === $settings.mnk.crouch.bind) {
handleCrouch();
} else if (key === $settings.mnk.jump.bind) {
} else if (key.toLowerCase() === $settings.mnk.jump.bind) {
handleJump();
} else {
instructions = `Other key pressed, ignoring`;
Expand Down

0 comments on commit 25426f8

Please sign in to comment.