summaryrefslogtreecommitdiff
path: root/script-beta/vm/getMeta.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script-beta/vm/getMeta.lua')
-rw-r--r--script-beta/vm/getMeta.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script-beta/vm/getMeta.lua b/script-beta/vm/getMeta.lua
index 4915f616..49e9cf34 100644
--- a/script-beta/vm/getMeta.lua
+++ b/script-beta/vm/getMeta.lua
@@ -26,7 +26,7 @@ local function eachMetaOfRecv(source, callback)
if special ~= 'setmetatable' then
return
end
- vm.eachFieldInTable(call.args[1])
+ vm.eachFieldInTable(call.args[1], callback)
local mt = call.args[2]
if mt then
callback(mt)