From c9aee3188983102a982fc24dba64059fc3078d29 Mon Sep 17 00:00:00 2001 From: Mees Roelofsz Date: Tue, 5 Dec 2023 15:27:33 +0100 Subject: [PATCH] trying to add dash --- web/game.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/web/game.js b/web/game.js index 4e9fc3d..ceb0b54 100644 --- a/web/game.js +++ b/web/game.js @@ -123,10 +123,7 @@ function keyPressed() { movingY = false; } if (key == ' ' && shot == false && lives != 0) { - if (movingX == true) { - playerPosX += 100; - - } + } }