summaryrefslogtreecommitdiff
path: root/compat.lua
diff options
context:
space:
mode:
authorAnthony Zhang <azhang9@gmail.com>2013-06-23 19:52:01 -0400
committerAnthony Zhang <azhang9@gmail.com>2013-06-23 19:52:01 -0400
commit5537257185bd510828295b0c9d7da0e542e801ff (patch)
tree4de911d14e8a50a29d12290294cd08cb6a9ea143 /compat.lua
parentdf0161f65e44987cc389397799d947728b1e71fd (diff)
downloadpipeworks-5537257185bd510828295b0c9d7da0e542e801ff.tar
pipeworks-5537257185bd510828295b0c9d7da0e542e801ff.tar.gz
pipeworks-5537257185bd510828295b0c9d7da0e542e801ff.tar.bz2
pipeworks-5537257185bd510828295b0c9d7da0e542e801ff.tar.xz
pipeworks-5537257185bd510828295b0c9d7da0e542e801ff.zip
Whoops, tubes ought to connect to deployers!
Diffstat (limited to 'compat.lua')
-rw-r--r--compat.lua8
1 files changed, 2 insertions, 6 deletions
diff --git a/compat.lua b/compat.lua
index 9caee89..6f555d0 100644
--- a/compat.lua
+++ b/compat.lua
@@ -88,10 +88,6 @@ chest.tube={insert_object=function(pos,node,stack,direction)
return inv:room_for_item("main",stack)
end,
input_inventory="main"}
-chest.after_place_node = function(pos)
- tube_scanforobjects(pos)
- end
-chest.after_dig_node = function(pos)
- tube_scanforobjects(pos)
- end
+chest.after_place_node = tube_scanforobjects(pos)
+chest.after_dig_node = tube_scanforobjects
minetest.register_node(":default:chest",chest)