Skip to content
Permalink
Browse files

Save settings after dropping main menu

  • Loading branch information
elagin authored and PilzAdam committed May 20, 2013
1 parent 1ba1fb4 commit c135e9c7d4bfaf038a2236f17f6e246d03461b8a
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/main.cpp
@@ -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();

0 comments on commit c135e9c

Please sign in to comment.