1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-14 09:05:19 +02:00

* key change menu now saving immediately

This commit is contained in:
Perttu Ahola
2011-07-22 21:53:50 +02:00
committed by Nils Dagsson Moskopp
parent 2452ce67f4
commit 6c2d95f868
2 changed files with 5 additions and 3 deletions

View File

@@ -338,7 +338,7 @@ bool GUIKeyChangeMenu::acceptInput()
g_settings.set("keymap_fastmove", keycode_to_keyname(key_fast));
g_settings.set("keymap_special1", keycode_to_keyname(key_use));
g_settings.set("keymap_print_debug_stacks", keycode_to_keyname(key_dump));
//clearKeyCache(); Y U NO SCOPE?!
clearKeyCache();
return true;
}
void GUIKeyChangeMenu::init_keys()