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

Add unit tests for SAO load / unload behaviour

This commit is contained in:
sfan5 2024-03-03 19:51:49 +01:00
parent 8339594206
commit e3b9828f24
8 changed files with 332 additions and 7 deletions

View file

@ -471,8 +471,7 @@ void Server::init()
// Must be created before mod loading because we have some inventory creation
m_inventory_mgr = std::make_unique<ServerInventoryManager>();
m_script->loadMod(getBuiltinLuaPath() + DIR_DELIM "init.lua", BUILTIN_MOD_NAME);
m_script->checkSetByBuiltin();
m_script->loadBuiltin();
m_gamespec.checkAndLog();
m_modmgr->loadMods(m_script);