From 170382d2ca1aea651942c44ebca358320811b5cc Mon Sep 17 00:00:00 2001 From: sillysagiri Date: Sat, 19 Oct 2024 10:03:10 +0700 Subject: [PATCH] keydown typo --- src/sillysagiri/Input.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sillysagiri/Input.java b/src/sillysagiri/Input.java index d6992d7..d8faffa 100644 --- a/src/sillysagiri/Input.java +++ b/src/sillysagiri/Input.java @@ -48,7 +48,7 @@ public final class Input { public final boolean IsKeyDown(int keycode) { - return (state_keycode == keycode) && (state_keyphase == 0); + return (state_keycode == keycode) && (state_keyphase == 1); } public final boolean IsKeyDown(int[] keycode)