mirror of
https://github.com/minetest-mods/mesecons.git
synced 2025-12-15 14:35:23 +01:00
Update init.lua
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user