From c18ac594426166e37b6511dc99ad0cb5dc2ea728 Mon Sep 17 00:00:00 2001 From: lars Date: Mon, 23 Dec 2024 23:28:53 +0100 Subject: [PATCH] changed tetris button press value --- .../minigames/instance/game/stateless/types/tetris/Tetris.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/eu/mhsl/minenet/minigames/instance/game/stateless/types/tetris/Tetris.java b/src/main/java/eu/mhsl/minenet/minigames/instance/game/stateless/types/tetris/Tetris.java index 84be942..5f98be3 100644 --- a/src/main/java/eu/mhsl/minenet/minigames/instance/game/stateless/types/tetris/Tetris.java +++ b/src/main/java/eu/mhsl/minenet/minigames/instance/game/stateless/types/tetris/Tetris.java @@ -102,7 +102,7 @@ class Tetris extends StatelessGame { double forwardAmount = movementVector.dot(forward); double leftAmount = movementVector.dot(left); - double buttonPressAmount = 0.018; + double buttonPressAmount = 0.05; if (forwardAmount > buttonPressAmount) { tetrisGame.pressedButton(TetrisGame.Button.W); } else if (forwardAmount < -buttonPressAmount) {