diff --git a/web/game.js b/web/game.js index 4dd7d32..da97279 100644 --- a/web/game.js +++ b/web/game.js @@ -113,9 +113,9 @@ async function Movementloop() { if (booleanArray[3]) { cirX -= speed;} if (booleanArray[2]) { - cirY -= speed;} - if (booleanArray[0]) { cirY += speed;} + if (booleanArray[0]) { + cirY -= speed;} } function object_collision() {