summaryrefslogtreecommitdiff
path: root/script/vm/compiler.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/vm/compiler.lua')
-rw-r--r--script/vm/compiler.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/vm/compiler.lua b/script/vm/compiler.lua
index bbc6a333..7b6531aa 100644
--- a/script/vm/compiler.lua
+++ b/script/vm/compiler.lua
@@ -731,7 +731,7 @@ local function compileLocalBase(source)
local hasMarkParam
if source.type == 'self' and not hasMarkDoc then
hasMarkParam = true
- if source.parent.parent.type == 'call' then
+ if source.parent.type == 'callargs' then
-- obj:func(...)
vm.setNode(source, vm.compileNode(source.parent.parent.node.node))
else