summaryrefslogtreecommitdiff
path: root/src/server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server.cpp')
-rw-r--r--src/server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server.cpp b/src/server.cpp
index 235e802bb..52183980f 100644
--- a/src/server.cpp
+++ b/src/server.cpp
@@ -223,7 +223,7 @@ Server::Server(
infostream<<"- game: "<<m_gamespec.path<<std::endl;
// Create world if it doesn't exist
- if(!initializeWorld(m_path_world, m_gamespec.id))
+ if(!loadGameConfAndInitWorld(m_path_world, m_gamespec))
throw ServerError("Failed to initialize world");
// Create server thread