mirror of
https://github.com/minetest-mods/mesecons.git
synced 2025-01-12 01:50:19 +01:00
Update init.lua
This commit is contained in:
parent
e719ed60b8
commit
2a5ff6a564
@ -292,6 +292,7 @@ local function safe_deep_copy_helper(msg, back_references, size_limit)
|
|||||||
if k == nil or v == nil then
|
if k == nil or v == nil then
|
||||||
return nil, 0
|
return nil, 0
|
||||||
end
|
end
|
||||||
|
ret[k] = v
|
||||||
cost = cost + k_cost + v_cost
|
cost = cost + k_cost + v_cost
|
||||||
if cost > size_limit then
|
if cost > size_limit then
|
||||||
return nil, 0
|
return nil, 0
|
||||||
|
Loading…
Reference in New Issue
Block a user