summaryrefslogtreecommitdiff
path: root/script-beta/core/completion.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script-beta/core/completion.lua')
-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 42164171..11bc4117 100644
--- a/script-beta/core/completion.lua
+++ b/script-beta/core/completion.lua
@@ -431,7 +431,7 @@ local function checkFieldOfRefs(refs, ast, word, start, offset, parent, oop, res
end
if #vm.getGlobals(key) <= 1 then
goto CONTINUE
- else
+ elseif not guide.isSet(src) then
src = vm.getGlobalSets(key)[1] or src
end
end