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