]> git.lizzy.rs Git - dragonfireclient.git/commitdiff
Save settings after dropping main menu
authorelagin <elagin.pasha@gmail.com>
Thu, 31 Jan 2013 17:03:14 +0000 (21:03 +0400)
committerPilzAdam <pilzadam@minetest.net>
Mon, 20 May 2013 14:03:48 +0000 (16:03 +0200)
src/main.cpp

index e5c8a55d38571c17683350f913cd1f011ed2de5f..eda992793641949068475179dc0afc16a71bf240 100644 (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;
 
                                        menu->drop();
                                        infostream<<"Dropping main menu"<<std::endl;
 
                                        menu->drop();