Fix map parameter load order
parent
3d29be24e0
commit
a3d7203be5
|
@ -295,10 +295,12 @@ Server::Server(
|
||||||
// Lock environment
|
// Lock environment
|
||||||
JMutexAutoLock envlock(m_env_mutex);
|
JMutexAutoLock envlock(m_env_mutex);
|
||||||
|
|
||||||
// Create the Map and load parameters
|
// Load mapgen params from Settings
|
||||||
ServerMap *servermap = new ServerMap(path_world, this, m_emerge);
|
|
||||||
m_emerge->loadMapgenParams();
|
m_emerge->loadMapgenParams();
|
||||||
|
|
||||||
|
// Create the Map (loads map_meta.txt, overriding configured mapgen params)
|
||||||
|
ServerMap *servermap = new ServerMap(path_world, this, m_emerge);
|
||||||
|
|
||||||
// Initialize scripting
|
// Initialize scripting
|
||||||
infostream<<"Server: Initializing Lua"<<std::endl;
|
infostream<<"Server: Initializing Lua"<<std::endl;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue