We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f03b986 commit 58971b3Copy full SHA for 58971b3
shared/table.lua
@@ -99,10 +99,10 @@ exports('TableReverse', MSK.Table.Reverse)
99
MSK.Table.Clone = function(tbl)
100
assert(tbl and type(tbl) == 'table', 'Parameter "tbl" has to be a table on function MSK.Table.Clone')
101
102
- local metatable = getmetatable(t)
+ local metatable = getmetatable(tbl)
103
local clone = {}
104
105
- for k, v in pairs(t) do
+ for k, v in pairs(tbl) do
106
if type(v) == 'table' then
107
target[k] = MSK.Table.Clone(v)
108
else
0 commit comments