From ee8067f7cfa5b25e12a166bd5d306a905630ee92 Mon Sep 17 00:00:00 2001
From: Perttu Ahola <celeron55@gmail.com>
Date: Thu, 2 May 2013 20:59:52 +0300
Subject: [PATCH] Switch menu to game selected in world creation dialog

---
 src/main.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/main.cpp b/src/main.cpp
index 67aa82bc4..9a646413d 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -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;
 				}
 
-- 
GitLab