forked from Mirrorlandia_minetest/digilines
Fix minetest-mod-mesecons issue #188: Use digiline:tablecopy
This commit is contained in:
parent
93135be10c
commit
241a7ed75f
@ -57,7 +57,7 @@ function digiline:tablecopy(table) -- deep table copy
|
|||||||
|
|
||||||
for idx, item in pairs(table) do
|
for idx, item in pairs(table) do
|
||||||
if type(item) == "table" then
|
if type(item) == "table" then
|
||||||
newtable[idx] = mesecon:tablecopy(item)
|
newtable[idx] = digiline:tablecopy(item)
|
||||||
else
|
else
|
||||||
newtable[idx] = item
|
newtable[idx] = item
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user