mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
minor
This commit is contained in:
parent
016e5bb46c
commit
c710e35ad8
1 changed files with 1 additions and 1 deletions
|
@ -77,10 +77,10 @@ void MyEventReceiver::reloadKeybindings()
|
|||
keysListenedFor.clear();
|
||||
for (int i = 0; i < KeyType::INTERNAL_ENUM_COUNT; i++) {
|
||||
GameKeyType game_key = static_cast<GameKeyType>(i);
|
||||
keybindings[i].emplace_back(game_key);
|
||||
for (auto key: keybindings[i]) {
|
||||
listenForKey(key, game_key);
|
||||
}
|
||||
listenForKey(game_key, game_key);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue