summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2015-01-15 06:25:41 -0500
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2015-01-15 06:25:41 -0500
commit50359104c7e1a304360a5c9e7e53a416954fcea7 (patch)
treed6328e998b690c3c59069c2848bcf39abcadc185 /init.lua
parente0039f22f8dfbd9fc3f476ced9ddd8a37e70ea68 (diff)
downloadpipeworks-50359104c7e1a304360a5c9e7e53a416954fcea7.tar
pipeworks-50359104c7e1a304360a5c9e7e53a416954fcea7.tar.gz
pipeworks-50359104c7e1a304360a5c9e7e53a416954fcea7.tar.bz2
pipeworks-50359104c7e1a304360a5c9e7e53a416954fcea7.tar.xz
pipeworks-50359104c7e1a304360a5c9e7e53a416954fcea7.zip
Use mesh nodes for all nodebox-based pipe-related nodes
Diffstat (limited to 'init.lua')
-rwxr-xr-xinit.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/init.lua b/init.lua
index b6c91d6..200bed3 100755
--- a/init.lua
+++ b/init.lua
@@ -51,6 +51,7 @@ function pipeworks.fix_image_names(table, replacement)
end
function pipeworks.add_node_box(t, b)
+ if not t or not b then return end
for i in ipairs(b)
do table.insert(t, b[i])
end