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)) ||