summaryrefslogtreecommitdiff
path: root/script-beta/core/reference.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script-beta/core/reference.lua')
-rw-r--r--script-beta/core/reference.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/script-beta/core/reference.lua b/script-beta/core/reference.lua
index 7e265e97..0f4efbfc 100644
--- a/script-beta/core/reference.lua
+++ b/script-beta/core/reference.lua
@@ -28,6 +28,9 @@ local function findRef(source, offset, callback)
return
end
vm.eachRef(source, function (info)
+ if info.source.library then
+ return
+ end
if info.mode == 'declare'
or info.mode == 'set'
or info.mode == 'get'