summaryrefslogtreecommitdiff
path: root/server/src/vm
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/vm')
-rw-r--r--server/src/vm/vm.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/vm/vm.lua b/server/src/vm/vm.lua
index 41015923..009de868 100644
--- a/server/src/vm/vm.lua
+++ b/server/src/vm/vm.lua
@@ -467,7 +467,7 @@ function mt:getSimple(simple, max)
local func = value
if object then
table.insert(values, 1, object)
- table.insert(args, 1, simple[i-1])
+ table.insert(args, 1, simple[i-3])
end
object = nil
source:bindCall(func, args)