From 8c3389778db135c4fef78db2ba5cb50d4cb5b448 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Mon, 28 Oct 2019 16:36:50 +0800 Subject: =?UTF-8?q?=E6=94=AF=E6=8C=81=E5=87=BD=E6=95=B0=E8=BF=94=E5=9B=9E?= =?UTF-8?q?=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server-beta/src/core/definition.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'server-beta/src/core') 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' -- cgit v1.2.3