1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Fix edge-case where manually set gameid isn't used

This commit is contained in:
sfan5 2025-04-08 12:15:16 +02:00
parent 9d81c02f27
commit 124d770823
4 changed files with 20 additions and 22 deletions

View file

@ -461,7 +461,7 @@ void Server::init()
m_mod_storage_database = openModStorageDatabase(m_path_world);
m_mod_storage_database->beginSave();
m_modmgr = std::make_unique<ServerModManager>(m_path_world);
m_modmgr = std::make_unique<ServerModManager>(m_path_world, m_gamespec);
// complain about mods with unsatisfied dependencies
if (!m_modmgr->isConsistent()) {