diff options
Diffstat (limited to 'server-beta/src/core/getfield.lua')
-rw-r--r-- | server-beta/src/core/getfield.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/server-beta/src/core/getfield.lua b/server-beta/src/core/getfield.lua index 328de34a..69c8a675 100644 --- a/server-beta/src/core/getfield.lua +++ b/server-beta/src/core/getfield.lua @@ -11,8 +11,11 @@ function m:field(source, key, callback) local node = source.node used[node] = true - callback(source.field, 'get') local myKey = guide.getKeyName(source) + if key == myKey then + callback(source.field, 'get') + end + self:eachField(node, myKey, function (src, mode) if used[src] then return |