From 245c99bb1ca69dab538c3106b640a478f963d6ed 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, 30 May 2020 15:54:13 +0800 Subject: =?UTF-8?q?=E6=95=B4=E7=90=86=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script-beta/vm/eachDef.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'script-beta/vm/eachDef.lua') diff --git a/script-beta/vm/eachDef.lua b/script-beta/vm/eachDef.lua index e30e3b51..2f29aa83 100644 --- a/script-beta/vm/eachDef.lua +++ b/script-beta/vm/eachDef.lua @@ -3,10 +3,14 @@ local guide = require 'parser.guide' local function eachDef(source) local lib = vm.getLibrary(source) + local value = guide.getObjectValue(source) local results = guide.requestDefinition(source) if lib then results[#results+1] = lib end + if value then + results[#results+1] = value + end return results end -- cgit v1.2.3