diff options
author | elagin <elagin.pasha@gmail.com> | 2013-01-31 21:03:14 +0400 |
---|---|---|
committer | PilzAdam <pilzadam@minetest.net> | 2013-05-20 16:03:48 +0200 |
commit | c135e9c7d4bfaf038a2236f17f6e246d03461b8a (patch) | |
tree | acba041ca5bc96fa811a591f5c9d77a7d6dd78d9 /src | |
parent | 1ba1fb42a431404ca559481420025f3e9f96191d (diff) | |
download | minetest-c135e9c7d4bfaf038a2236f17f6e246d03461b8a.tar.gz minetest-c135e9c7d4bfaf038a2236f17f6e246d03461b8a.tar.bz2 minetest-c135e9c7d4bfaf038a2236f17f6e246d03461b8a.zip |
Save settings after dropping main menu
Diffstat (limited to 'src')
-rw-r--r-- | src/main.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index e5c8a55d3..eda992793 100644 --- a/src/main.cpp +++ b/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(); |