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:
@@ -51,6 +51,9 @@ class ServerScripting:
|
||||
|
||||
// use ScriptApiBase::loadMod() to load mods
|
||||
|
||||
// Save globals that are copied into other Lua envs
|
||||
void saveGlobals();
|
||||
|
||||
// Initialize async engine, call this AFTER loading all mods
|
||||
void initAsync();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user