Skip to content

Commit

Permalink
Save settings after dropping main menu
Browse files Browse the repository at this point in the history
  • Loading branch information
elagin authored and PilzAdam committed May 20, 2013
1 parent 1ba1fb4 commit c135e9c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main.cpp
Expand Up @@ -1942,6 +1942,9 @@ int main(int argc, char *argv[])
sound = NULL;
}

// Save controls status
menu->readInput(&menudata);

infostream<<"Dropping main menu"<<std::endl;

menu->drop();
Expand Down

0 comments on commit c135e9c

Please sign in to comment.