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:
parent
8339594206
commit
e3b9828f24
8 changed files with 332 additions and 7 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue