mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-22 17:18:39 +00:00
Fix map parameter load order
This commit is contained in:
parent
3d29be24e0
commit
a3d7203be5
1 changed files with 4 additions and 2 deletions
|
@ -295,10 +295,12 @@ Server::Server(
|
|||
// Lock environment
|
||||
JMutexAutoLock envlock(m_env_mutex);
|
||||
|
||||
// Create the Map and load parameters
|
||||
ServerMap *servermap = new ServerMap(path_world, this, m_emerge);
|
||||
// Load mapgen params from Settings
|
||||
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
|
||||
infostream<<"Server: Initializing Lua"<<std::endl;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue