From c710e35ad83ddbe1864dc34d81e6daeb8920a053 Mon Sep 17 00:00:00 2001 From: y5nw Date: Sun, 1 Jun 2025 12:40:10 +0200 Subject: [PATCH] minor --- src/client/inputhandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/inputhandler.cpp b/src/client/inputhandler.cpp index 7152e4b94..64a377139 100644 --- a/src/client/inputhandler.cpp +++ b/src/client/inputhandler.cpp @@ -77,10 +77,10 @@ void MyEventReceiver::reloadKeybindings() keysListenedFor.clear(); for (int i = 0; i < KeyType::INTERNAL_ENUM_COUNT; i++) { GameKeyType game_key = static_cast(i); + keybindings[i].emplace_back(game_key); for (auto key: keybindings[i]) { listenForKey(key, game_key); } - listenForKey(game_key, game_key); } }