diff options
Diffstat (limited to 'server-beta/src/core')
-rw-r--r-- | server-beta/src/core/definition.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server-beta/src/core/definition.lua b/server-beta/src/core/definition.lua index 305bb868..8a808e23 100644 --- a/server-beta/src/core/definition.lua +++ b/server-beta/src/core/definition.lua @@ -5,7 +5,8 @@ local files = require 'files' local function findDef(searcher, source, callback) searcher:eachRef(source, function (info) if info.mode == 'declare' - or info.mode == 'set' then + or info.mode == 'set' + or info.mode == 'return' then local src = info.source local uri = info.uri if src.type == 'setfield' |