fix direction right

This commit is contained in:
HorizonCode committed 2022-08-11 16:28:50 +02:00
1 parent 475ad8955d
commit 73b4046a07
1 file changed
+2 -1
+2 -1
View File
@@ -52,7 +52,8 @@ async function run() {
if (button) { if (button) {
if (keyCooldown > 0) if (keyCooldown > 0)
return; return;
if (KEYMAP[button]) { if (KEYMAP[button] !== undefined) {
console.log()
currentKey = button; currentKey = button;
keyCooldown = 10; keyCooldown = 10;
} }