summaryrefslogtreecommitdiff
path: root/server/src/vm/value.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/vm/value.lua')
-rw-r--r--server/src/vm/value.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/server/src/vm/value.lua b/server/src/vm/value.lua
index 44e9d1e4..60f0c663 100644
--- a/server/src/vm/value.lua
+++ b/server/src/vm/value.lua
@@ -151,6 +151,10 @@ function mt:getChild(index, source, mark)
return method:getChild(index, source, mark)
end
+function mt:bindChild(other)
+ self._child = other._child
+end
+
function mt:setMetaTable(metatable)
self._meta = metatable
end