diff options
Diffstat (limited to 'src/input/inputmanager.cpp')
-rw-r--r-- | src/input/inputmanager.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/input/inputmanager.cpp b/src/input/inputmanager.cpp index c0d3a1d0f..2bc0786fb 100644 --- a/src/input/inputmanager.cpp +++ b/src/input/inputmanager.cpp @@ -524,6 +524,7 @@ bool InputManager::handleEvent(const SDL_Event &event) { case SDL_KEYDOWN: { + keyboard.refreshActiveKeys(); updateConditionMask(); if (handleAssignKey(event, INPUT_KEYBOARD)) return true; @@ -551,6 +552,7 @@ bool InputManager::handleEvent(const SDL_Event &event) } case SDL_KEYUP: { + keyboard.refreshActiveKeys(); updateConditionMask(); keyboard.handleDeActicateKey(event); break; |