From 7aa5e82ddad740e0183f9951753e01b68f813f0f Mon Sep 17 00:00:00 2001 From: muckelba <34460584+muckelba@users.noreply.github.com> Date: Thu, 16 Nov 2023 10:56:58 +0100 Subject: [PATCH] i should be smart enough to not make those kind of mistakes, but here we are --- src/routes/superglidetrainer/+page.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes/superglidetrainer/+page.svelte b/src/routes/superglidetrainer/+page.svelte index ecb9811..4dc1235 100644 --- a/src/routes/superglidetrainer/+page.svelte +++ b/src/routes/superglidetrainer/+page.svelte @@ -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`;