Save settings after dropping main menu

master
elagin 2013-01-31 21:03:14 +04:00 committed by PilzAdam
parent 1ba1fb42a4
commit c135e9c7d4
1 changed files with 3 additions and 0 deletions

View File

@ -1942,6 +1942,9 @@ int main(int argc, char *argv[])
sound = NULL; sound = NULL;
} }
// Save controls status
menu->readInput(&menudata);
infostream<<"Dropping main menu"<<std::endl; infostream<<"Dropping main menu"<<std::endl;
menu->drop(); menu->drop();