From 418c026038a21ba7c7ffaff7ec9f607b594670ef Mon Sep 17 00:00:00 2001 From: orwell96 Date: Mon, 22 Jan 2018 22:42:50 +0100 Subject: Correct discouple position Discouple entity was falsely placed at the position of the wagon instead of at its end --- advtrains/couple.lua | 3 --- 1 file changed, 3 deletions(-) (limited to 'advtrains/couple.lua') 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, -- cgit v1.2.3