Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed hotkey prefs being lost after installing addons (fixes #2532)
The problem was that game_config_manager::init_game_config was called (via reload_changed_game_config) after an addon was installed, which loaded the standard game-defined hotkeys. The loading of hotkey preferences was relegated to the main game loop (do_gameloop). However, that loop wasn't entered again when installing addons, since technically you never left the titlescreen, so the default hotkeys were being re-loaded but not the prefs one. I've moved loading of both to the same place to prevent any further issues.
- Loading branch information
2523493
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix actually uncommented in c40c074 ....