summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2013-05-02 20:59:52 +0300
committerPerttu Ahola <celeron55@gmail.com>2013-05-02 20:59:52 +0300
commitee8067f7cfa5b25e12a166bd5d306a905630ee92 (patch)
tree79425b899c7c4b498d135bd7f684e991089d9360 /src
parent2cf76f6f1b1c915ad198315b301221c28391265d (diff)
downloadminetest-ee8067f7cfa5b25e12a166bd5d306a905630ee92.tar.gz
minetest-ee8067f7cfa5b25e12a166bd5d306a905630ee92.tar.bz2
minetest-ee8067f7cfa5b25e12a166bd5d306a905630ee92.zip
Switch menu to game selected in world creation dialog
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp1
1 files changed, 1 insertions, 0 deletions
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;
}