From 73b04fc80ce0bf31f4be4f5ce5c41a05b49cc571 Mon Sep 17 00:00:00 2001 From: Jason Hilder Date: Thu, 15 Oct 2026 05:35:38 +0200 Subject: [PATCH] Fixed random bug, spacebar should not be confirm. --- src/input_manager.odin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/input_manager.odin b/src/input_manager.odin index e8226ca..5f1c2b4 100644 --- a/src/input_manager.odin +++ b/src/input_manager.odin @@ -86,7 +86,7 @@ poll_input :: proc() -> Input_Event { input_event.right_pressed = rl.IsKeyPressed(.D) || rl.IsKeyPressed(.RIGHT) || (gamepad_active && rl.IsGamepadButtonPressed(gid, .LEFT_FACE_RIGHT)) - input_event.confirm_pressed = rl.IsKeyPressed(.ENTER) || rl.IsKeyPressed(.SPACE) || + input_event.confirm_pressed = rl.IsKeyPressed(.ENTER) || (gamepad_active && rl.IsGamepadButtonPressed(gid, .RIGHT_FACE_DOWN)) input_event.pause_pressed = rl.IsKeyPressed(.SPACE) ||