summaryrefslogtreecommitdiff
path: root/server-beta/src/core/diagnostics
diff options
context:
space:
mode:
Diffstat (limited to 'server-beta/src/core/diagnostics')
-rw-r--r--server-beta/src/core/diagnostics/redefined-local.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server-beta/src/core/diagnostics/redefined-local.lua b/server-beta/src/core/diagnostics/redefined-local.lua
index a1b0e77a..f6176794 100644
--- a/server-beta/src/core/diagnostics/redefined-local.lua
+++ b/server-beta/src/core/diagnostics/redefined-local.lua
@@ -13,7 +13,7 @@ return function (uri, callback)
or name == '_ENV' then
return
end
- local exist = guide.getLocal(source, name, source.start)
+ local exist = guide.getLocal(source, name, source.start-1)
if exist then
callback {
start = source.start,