mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
Refactor input handler (#15933)
This commit is contained in:
parent
309c0a0cb6
commit
4cd2273349
5 changed files with 168 additions and 254 deletions
|
@ -554,7 +554,7 @@ bool GameFormSpec::handleCallbacks()
|
|||
}
|
||||
|
||||
if (g_gamecallback->keyconfig_changed) {
|
||||
m_input->keycache.populate(); // update the cache with new settings
|
||||
m_input->reloadKeybindings(); // update the cache with new settings
|
||||
g_gamecallback->keyconfig_changed = false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue