aboutsummaryrefslogtreecommitdiff
path: root/advtrains/couple.lua
diff options
context:
space:
mode:
Diffstat (limited to 'advtrains/couple.lua')
-rw-r--r--advtrains/couple.lua3
1 files changed, 0 insertions, 3 deletions
diff --git a/advtrains/couple.lua b/advtrains/couple.lua
index 6a06077..7e99571 100644
--- a/advtrains/couple.lua
+++ b/advtrains/couple.lua
@@ -56,9 +56,6 @@ minetest.register_entity("advtrains:discouple", {
self.object:remove()
return
end
- if (self.wagon.old_velocity and self.wagon.old_velocity > 0) or self.wagon.pos_in_trainparts==1 then
- self.object:remove()
- end
atprintbm("discouple_step", t)
end)
end,