diff --git a/homedecor/nodeboxes.lua b/homedecor/nodeboxes.lua index 4c94f6d8..fe15a97d 100644 --- a/homedecor/nodeboxes.lua +++ b/homedecor/nodeboxes.lua @@ -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 }