1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-11 17:51:04 +00:00

Update mapgen params in ServerMap after Mapgen init

This commit is contained in:
kwolekr 2013-12-14 10:49:20 -05:00
parent 15c316765d
commit 7a4c1e7327
3 changed files with 6 additions and 4 deletions

View file

@ -823,6 +823,7 @@ Server::Server(
// Initialize mapgens
m_emerge->initMapgens(mgparams);
servermap->setMapgenParams(m_emerge->params);
// Give environment reference to scripting api
m_script->initializeEnvironment(m_env);