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:
parent
9d81c02f27
commit
124d770823
4 changed files with 20 additions and 22 deletions
|
@ -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()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue