From cd139ff2f2eaefab4de54ab5c39c04aa992f7b51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Thu, 17 Oct 2019 15:15:24 +0800 Subject: =?UTF-8?q?=E6=94=AF=E6=8C=81=E5=AE=9E=E4=BE=8B=E6=9F=A5=E6=89=BE?= =?UTF-8?q?=E6=96=B9=E6=B3=95=E7=9A=84=E5=BC=95=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server-beta/src/core/getfield.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'server-beta/src/core/getfield.lua') diff --git a/server-beta/src/core/getfield.lua b/server-beta/src/core/getfield.lua index c76df24e..77a132ca 100644 --- a/server-beta/src/core/getfield.lua +++ b/server-beta/src/core/getfield.lua @@ -9,7 +9,9 @@ function m:field(source, key, callback) used[source] = true local node = source.node - used[node] = true + self:eachDef(node, function (src) + used[src] = true + end) local myKey = guide.getKeyName(source) if key == myKey then -- cgit v1.2.3