mirror of
https://github.com/luanti-org/luanti.git
synced 2026-01-13 12:45:29 +01:00
Save Lua globals after mod loading
These are used for the async env currently and will be needed elsewhere soon.
This commit is contained in:
@@ -460,6 +460,8 @@ void Server::init()
|
||||
m_gamespec.checkAndLog();
|
||||
m_modmgr->loadMods(m_script);
|
||||
|
||||
m_script->saveGlobals();
|
||||
|
||||
// Read Textures and calculate sha1 sums
|
||||
fillMediaCache();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user