From d7f92fedf52e444870abf1ffbd4ed8be929ce368 Mon Sep 17 00:00:00 2001 From: Mark Suckerberg Date: Tue, 27 Aug 2024 12:32:54 -0500 Subject: [PATCH] Fixes stuttering --- Blocktest/Code/Scenes/GameScene.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Blocktest/Code/Scenes/GameScene.cs b/Blocktest/Code/Scenes/GameScene.cs index 6f1c4bc..106db44 100644 --- a/Blocktest/Code/Scenes/GameScene.cs +++ b/Blocktest/Code/Scenes/GameScene.cs @@ -129,7 +129,7 @@ private void HandleInput() { _gameUi.BlockSelector.SelectedIndex = BlockSelected; } - float moveValue = 2f; + float moveValue = 2; if (currentKeyboardState.IsKeyDown(Keys.LeftShift) || currentKeyboardState.IsKeyDown(Keys.RightShift)) { moveValue *= 4; }