summaryrefslogtreecommitdiff
path: root/server-beta/src/core/getfield.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server-beta/src/core/getfield.lua')
-rw-r--r--server-beta/src/core/getfield.lua4
1 files changed, 3 insertions, 1 deletions
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