summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2014-01-02 04:36:52 -0500
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2014-01-02 04:36:52 -0500
commit9a9bd2f491ecb4b62ebc069ca61ad917da584ce9 (patch)
tree972cfdf651b07114a7c1c448e44554314e239979
parent8e4d444a7025f685fb654618b142ad11a92e0c01 (diff)
downloadpipeworks-9a9bd2f491ecb4b62ebc069ca61ad917da584ce9.tar
pipeworks-9a9bd2f491ecb4b62ebc069ca61ad917da584ce9.tar.gz
pipeworks-9a9bd2f491ecb4b62ebc069ca61ad917da584ce9.tar.bz2
pipeworks-9a9bd2f491ecb4b62ebc069ca61ad917da584ce9.tar.xz
pipeworks-9a9bd2f491ecb4b62ebc069ca61ad917da584ce9.zip
misc fixed
-rw-r--r--tubes.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/tubes.lua b/tubes.lua
index fc45752..9c13d66 100644
--- a/tubes.lua
+++ b/tubes.lua
@@ -179,13 +179,13 @@ pipeworks.register_tube = function(name, desc, plain, noctrs, ends, short, inv,
basename = name,
inventory_image = inv,
wield_image = inv,
- paramtype = light,
+ paramtype = "light",
sunlight_propagates = true,
description = "Pneumatic tube segment (legacy)",
after_place_node = function(pos)
pipeworks.scan_for_tube_objects(pos)
- if minetest.registered_nodes[name.."_compatibility"].after_place_node_ then
- minetest.registered_nodes[name.."_compatibility"].after_place_node_(pos)
+ if minetest.registered_nodes[name.."_1"].after_place_node_ then
+ minetest.registered_nodes[name.."_1"].after_place_node_(pos)
end
end,
groups = {not_in_creative_inventory = 1, tube_to_update = 1},