mGUI: Fix control remapping not reloading (fixes #3277)

This commit is contained in:
Vicki Pfau 2024-11-03 19:23:57 -08:00
parent 17b03b6f20
commit 77e747ebf6
1 changed files with 3 additions and 0 deletions

View File

@ -782,6 +782,9 @@ void mGUILoadInputMaps(struct mGUIRunner* runner) {
size_t i;
for (i = 0; runner->keySources[i].id; ++i) {
mInputMapLoad(&runner->params.keyMap, runner->keySources[i].id, mCoreConfigGetInput(&runner->config));
if (runner->core) {
mInputMapLoad(&runner->core->inputMap, runner->keySources[i].id, mCoreConfigGetInput(&runner->config));
}
}
}