summaryrefslogtreecommitdiff
path: root/pipeworks
diff options
context:
space:
mode:
Diffstat (limited to 'pipeworks')
-rw-r--r--pipeworks/item_transport.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/pipeworks/item_transport.lua b/pipeworks/item_transport.lua
index 15d29ee..215b65e 100644
--- a/pipeworks/item_transport.lua
+++ b/pipeworks/item_transport.lua
@@ -286,6 +286,7 @@ luaentity.register_entity("pipeworks:tubed_item", {
if minetest.get_item_group(rev_node.name,"tube") == 1 then
print("[Pipeworks] Warning - tubed item had to reverse direction at "..minetest.pos_to_string(self.start_pos))
velocity = vector.multiply(velocity, -1)
+ self:setpos(self.start_pos)
self:setvelocity(velocity)
else
if drop_pos then