summaryrefslogtreecommitdiff
path: root/server/src
diff options
context:
space:
mode:
Diffstat (limited to 'server/src')
-rw-r--r--server/src/core/references.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/core/references.lua b/server/src/core/references.lua
index 4bd26b07..10d8b2df 100644
--- a/server/src/core/references.lua
+++ b/server/src/core/references.lua
@@ -18,7 +18,7 @@ local function parseResult(vm, source, declarat, callback)
end
end)
loc:getValue():eachInfo(function (info, src)
- if (declarat and (info.type == 'set' or info.type == 'local')) or info.type == 'get' then
+ if (declarat and (info.type == 'set' or info.type == 'local' or info.type == 'return')) or info.type == 'get' then
callback(src)
end
end)