summaryrefslogtreecommitdiff
path: root/script/core/completion.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/core/completion.lua')
-rw-r--r--script/core/completion.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/completion.lua b/script/core/completion.lua
index f36b265c..dda47f4c 100644
--- a/script/core/completion.lua
+++ b/script/core/completion.lua
@@ -1343,7 +1343,7 @@ local function getCallEnumsAndFuncs(source, index, oop)
index = index - 1
end
local arg = source.args[index]
- if arg then
+ if arg and arg.extends then
return pushCallEnumsAndFuncs(vm.getDefs(arg.extends))
end
end