summaryrefslogtreecommitdiff
path: root/src/emerge.cpp
diff options
context:
space:
mode:
authorkwolekr <kwolekr@minetest.net>2015-01-27 22:29:02 -0500
committerkwolekr <kwolekr@minetest.net>2015-01-27 22:29:28 -0500
commitad690c46b10423b23d515bda0e89228b51f5b5e9 (patch)
treee26cec803414c19585d2456795e46352c42c1b72 /src/emerge.cpp
parent80a7408e4d17e0e388f2d45fb90c5524a5dd7c89 (diff)
downloadminetest-ad690c46b10423b23d515bda0e89228b51f5b5e9.tar.gz
minetest-ad690c46b10423b23d515bda0e89228b51f5b5e9.tar.bz2
minetest-ad690c46b10423b23d515bda0e89228b51f5b5e9.zip
Write common mapgen params to map_meta.txt on world initialization
Diffstat (limited to 'src/emerge.cpp')
-rw-r--r--src/emerge.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/emerge.cpp b/src/emerge.cpp
index e81793ff8..2926b0c0b 100644
--- a/src/emerge.cpp
+++ b/src/emerge.cpp
@@ -380,8 +380,11 @@ void EmergeManager::loadParamsFromSettings(Settings *settings)
delete params.sparams;
params.sparams = createMapgenParams(params.mg_name);
- if (params.sparams)
+
+ if (params.sparams) {
+ params.sparams->readParams(g_settings);
params.sparams->readParams(settings);
+ }
}