diff options
Diffstat (limited to 'server-beta')
-rw-r--r-- | server-beta/src/core/local.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/server-beta/src/core/local.lua b/server-beta/src/core/local.lua index 1916ba88..040da822 100644 --- a/server-beta/src/core/local.lua +++ b/server-beta/src/core/local.lua @@ -76,11 +76,11 @@ function m:field(source, key, callback) end end end - --if source.tag == 'self' then - -- local method = source.method - -- local node = method.node - -- self:eachRef(node, 'field', callback) - --end + if source.tag == 'self' then + local method = source.method + local node = method.node + self:eachField(node, key, callback) + end if source.value then self:eachField(source.value, key, callback) end |