summaryrefslogtreecommitdiff
path: root/server-beta/src/core/setmetatable.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server-beta/src/core/setmetatable.lua')
-rw-r--r--server-beta/src/core/setmetatable.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server-beta/src/core/setmetatable.lua b/server-beta/src/core/setmetatable.lua
index ecb1a98d..978d165c 100644
--- a/server-beta/src/core/setmetatable.lua
+++ b/server-beta/src/core/setmetatable.lua
@@ -27,7 +27,7 @@ return function (self, key, used, found, callback)
end)
end
-- mt.__index.field -> t.field
- self:eachDef(src, function (src)
+ self:eachValue(src, function (src)
if used[src] then
self:eachValue(t, function (mtvalue)
self:eachField(mtvalue, key, callback)