summaryrefslogtreecommitdiff
path: root/server/src/vm
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/vm')
-rw-r--r--server/src/vm/function.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/server/src/vm/function.lua b/server/src/vm/function.lua
index 0c13b840..973f984e 100644
--- a/server/src/vm/function.lua
+++ b/server/src/vm/function.lua
@@ -196,7 +196,6 @@ function mt:createArg(vm, arg)
arg:set('arg', true)
if arg.type == 'name' then
local loc = createLocal(arg[1], arg, createValue('nil', arg))
- loc:set('arg', arg)
self:saveLocal(arg[1], loc)
self.args[#self.args+1] = loc
elseif arg.type == '...' then