summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--script-beta/core/completion.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script-beta/core/completion.lua b/script-beta/core/completion.lua
index 95143173..cfca754e 100644
--- a/script-beta/core/completion.lua
+++ b/script-beta/core/completion.lua
@@ -432,7 +432,7 @@ local function checkFieldOfRefs(refs, ast, word, start, offset, parent, oop, res
end
if #vm.getGlobals(key) <= 1 then
goto CONTINUE
- elseif not guide.isSet(src) then
+ elseif not vm.isSet(src) then
src = vm.getGlobalSets(key)[1] or src
end
end