Remove unused deepcopy function from oop/utils.lua
This commit is contained in:
parent
64912101c4
commit
ec6e7552fc
@ -1,15 +0,0 @@
|
|||||||
local function deepcopy(t)
|
|
||||||
local new = {}
|
|
||||||
for k, v in pairs(t) do
|
|
||||||
if type(v) == "table" then
|
|
||||||
new[k] = deepcopy(v)
|
|
||||||
else
|
|
||||||
new[k] = v
|
|
||||||
end
|
|
||||||
end
|
|
||||||
return new
|
|
||||||
end
|
|
||||||
|
|
||||||
return {
|
|
||||||
deepcopy = deepcopy
|
|
||||||
}
|
|
||||||
Loading…
x
Reference in New Issue
Block a user