summaryrefslogtreecommitdiff
path: root/script/parser/ast.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/parser/ast.lua')
-rw-r--r--script/parser/ast.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/script/parser/ast.lua b/script/parser/ast.lua
index 47093f0e..b2a9fa37 100644
--- a/script/parser/ast.lua
+++ b/script/parser/ast.lua
@@ -1461,9 +1461,9 @@ local Defs = {
if func then
local call = createCall(exp, func.finish + 1, exp.finish)
if #exp == 0 then
- exp[1] = getSelect(func, 1)
- exp[2] = getSelect(func, 2)
- exp[3] = getSelect(func, 3)
+ exp[1] = getSelect(func, 2)
+ exp[2] = getSelect(func, 3)
+ exp[3] = getSelect(func, 4)
end
call.node = func
call.start = inA