summaryrefslogtreecommitdiff
path: root/script/vm/node.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/vm/node.lua')
-rw-r--r--script/vm/node.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/script/vm/node.lua b/script/vm/node.lua
index 6a86350a..e15788a5 100644
--- a/script/vm/node.lua
+++ b/script/vm/node.lua
@@ -152,6 +152,7 @@ function mt:setTruthy()
if hasBoolean then
self[#self+1] = vm.declareGlobal('type', 'true')
end
+ return self
end
---@return vm.node
@@ -180,6 +181,7 @@ function mt:setFalsy()
if hasBoolean then
self[#self+1] = vm.declareGlobal('type', 'false')
end
+ return self
end
---@param name string
@@ -200,6 +202,7 @@ function mt:remove(name)
self[c] = nil
end
end
+ return self
end
---@param node vm.node