mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +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
|
@ -383,8 +383,8 @@ public:
|
|||
// Lua files registered for init of async env, pair of modname + path
|
||||
std::vector<std::pair<std::string, std::string>> m_async_init_files;
|
||||
|
||||
// Data transferred into async envs at init time
|
||||
std::unique_ptr<PackedValue> m_async_globals_data;
|
||||
// Data transferred into other Lua envs at init time
|
||||
std::unique_ptr<PackedValue> m_lua_globals_data;
|
||||
|
||||
// Bind address
|
||||
Address m_bind_addr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue