arg --> ...

This commit is contained in:
Vanessa Ezekowitz 2015-01-23 12:52:34 -05:00
parent ff2163ae64
commit 63d8ddc67b
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ mt.__index = function(table, key)
local ref = homedecor.box[key]
if type(ref) == "function" then
return function(...)
return { type = "fixed", fixed = ref(unpack(arg)) }
return { type = "fixed", fixed = ref(...) }
end
elseif type(ref) == "table" then
return { type = "fixed", fixed = ref }