Restore loading of user preferences at start-up (bug #24427)

Loading of user preferences - or user hot-keys at the very least - were broken with the deletion at 28be388d6d (diff-fce7a1e6525522f3e4ab47349051a806L770)

This restores loading of user preferences at start-up.
This commit is contained in:
Wedge009 2016-02-19 06:23:35 +11:00
parent 7bbb18452e
commit 964d7bb09f

View file

@ -770,6 +770,8 @@ static int do_gameloop(const std::vector<std::string>& args)
? gui2::ttitle_screen::LOAD_GAME
: gui2::ttitle_screen::NOTHING;
preferences::load_hotkeys();
const font::floating_label_context label_manager;
cursor::set(cursor::NORMAL);