summaryrefslogtreecommitdiff
path: root/server-beta/src/core/method.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server-beta/src/core/method.lua')
-rw-r--r--server-beta/src/core/method.lua7
1 files changed, 1 insertions, 6 deletions
diff --git a/server-beta/src/core/method.lua b/server-beta/src/core/method.lua
index c8ea61e1..a5005587 100644
--- a/server-beta/src/core/method.lua
+++ b/server-beta/src/core/method.lua
@@ -27,12 +27,7 @@ function m:field(source, key, callback)
end
function m:value(source, callback)
- local parent = source.parent
- if parent.type == 'setmethod' then
- if parent.value then
- self:eachValue(parent.value, callback)
- end
- end
+ self:eachValue(source.parent, callback)
end
return m