Switch menu to game selected in world creation dialog
authorPerttu Ahola <celeron55@gmail.com>
Thu, 2 May 2013 17:59:52 +0000 (20:59 +0300)
committerPerttu Ahola <celeron55@gmail.com>
Thu, 2 May 2013 17:59:52 +0000 (20:59 +0300)
src/main.cpp

index 67aa82bc4d299eada1c49609f0fa7d412dacb050..9a646413dc54d17e69a6eb8e2026350fa0d0b33c 100644 (file)
@@ -1795,6 +1795,7 @@ int main(int argc, char *argv[])
                                                continue;
                                        }
                                        g_settings->set("selected_world_path", path);
+                                       g_settings->set("selected_mainmenu_game", menudata.create_world_gameid);
                                        continue;
                                }