diff options
author | orwell96 <orwell@bleipb.de> | 2018-01-22 22:42:50 +0100 |
---|---|---|
committer | orwell96 <orwell@bleipb.de> | 2018-01-22 22:44:55 +0100 |
commit | 418c026038a21ba7c7ffaff7ec9f607b594670ef (patch) | |
tree | ef6ef4b758d193921c7a5e36178c4a7c3e4f1cb0 /advtrains/couple.lua | |
parent | 8ef6e9a52924a77b7479690817d416eb2e85722f (diff) | |
download | advtrains-418c026038a21ba7c7ffaff7ec9f607b594670ef.tar.gz advtrains-418c026038a21ba7c7ffaff7ec9f607b594670ef.tar.bz2 advtrains-418c026038a21ba7c7ffaff7ec9f607b594670ef.zip |
Correct discouple position
Discouple entity was falsely placed at the position of the wagon
instead of at its end
Diffstat (limited to 'advtrains/couple.lua')
-rw-r--r-- | advtrains/couple.lua | 3 |
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, |