From df58ac0f9dec8fb58950a66ffb10dbe9f5eb4f4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Sat, 9 Apr 2022 05:28:59 +0800 Subject: update --- script/vm/ref.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'script/vm/ref.lua') diff --git a/script/vm/ref.lua b/script/vm/ref.lua index e1bdf81d..472b3b49 100644 --- a/script/vm/ref.lua +++ b/script/vm/ref.lua @@ -259,9 +259,10 @@ local function searchByNode(source, pushResult) if not node then return end + local uri = guide.getUri(source) for n in nodeMgr.eachNode(node) do if n.type == 'global' then - for _, get in ipairs(n:getGets()) do + for _, get in ipairs(n:getGets(uri)) do pushResult(get) end end -- cgit v1.2.3