Reverted code inadvertently removed. :)
20:02 < Ayin> Ce`dric: I removed what? 20:02 < Ayin> Ce`dric: Huuuuuuh? o_O 20:03 < Ayin> Ce`dric: This was an error. I dont't even know how I did remove that, but it was not on purpose
This commit is contained in:
parent
aeebfdbcf2
commit
55610c008d
1 changed files with 6 additions and 0 deletions
|
@ -1298,6 +1298,12 @@ bool game_controller::change_language()
|
|||
if(size_t(res) < langs.size()) {
|
||||
set_language(known_languages[res]);
|
||||
preferences::set_locale(known_languages[res].localename);
|
||||
|
||||
//force a reload of configuration information
|
||||
const bool old_cache = use_caching_;
|
||||
use_caching_ = false;
|
||||
init_config();
|
||||
use_caching_ = old_cache;
|
||||
}
|
||||
|
||||
hotkey::load_descriptions();
|
||||
|
|
Loading…
Add table
Reference in a new issue