mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-05 19:31:04 +00: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:
parent
4fdd2dec59
commit
32ff832108
4 changed files with 26 additions and 18 deletions
|
@ -51,6 +51,9 @@ public:
|
|||
|
||||
// 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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue