Merge pull request #416 from RichardTry/patch-1

Copy metatable in table.deep_copy
This commit is contained in:
MihailRis
2024-12-19 02:46:32 +03:00
committed by GitHub
+1 -1
View File
@@ -74,7 +74,7 @@ function table.deep_copy(t)
end
end
return copied
return setmetatable(copied, getmetatable(t))
end
function table.count_pairs(t)