mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Use native packer to transfer globals into async env(s)
This commit is contained in:
parent
7f58887ae3
commit
ec9f157512
6 changed files with 11 additions and 11 deletions
|
@ -22,8 +22,7 @@ dofile(gamepath .. "voxelarea.lua")
|
|||
|
||||
-- Transfer of globals
|
||||
do
|
||||
assert(core.transferred_globals)
|
||||
local all = core.deserialize(core.transferred_globals, true)
|
||||
local all = assert(core.transferred_globals)
|
||||
core.transferred_globals = nil
|
||||
|
||||
-- reassemble other tables
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue