1
0
Fork 0
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:
sfan5 2022-05-09 18:20:10 +02:00
parent 7f58887ae3
commit ec9f157512
6 changed files with 11 additions and 11 deletions

View file

@ -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