From 903e04f41278fb680bd880488221a2bf37e7a1b4 Mon Sep 17 00:00:00 2001 From: Nickolas McDonald <43690021+n77y@users.noreply.github.com> Date: Sun, 20 Aug 2023 19:11:48 -0400 Subject: [PATCH] Update rcore.c --- src/rcore.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/rcore.c b/src/rcore.c index c14c0904e..3b872ce63 100644 --- a/src/rcore.c +++ b/src/rcore.c @@ -5620,8 +5620,6 @@ static void KeyCallback(GLFWwindow *window, int key, int scancode, int action, i else if(action == GLFW_PRESS) CORE.Input.Keyboard.currentKeyState[key] = 1; else if(action == GLFW_REPEAT) CORE.Input.Keyboard.keyRepeatInFrame[key] = 1; - if (action == GLFW_REPEAT) CORE.Input.Keyboard.keyRepeatInFrame[key] = 1; - #if !defined(PLATFORM_WEB) // WARNING: Check if CAPS/NUM key modifiers are enabled and force down state for those keys if (((key == KEY_CAPS_LOCK) && ((mods & GLFW_MOD_CAPS_LOCK) > 0)) ||