From 7681de96c95a716f7910a42b0f2beb5b23b1df47 Mon Sep 17 00:00:00 2001 From: orwell96 Date: Mon, 27 Nov 2017 17:46:01 +0100 Subject: remove superfluous parameter ... from update_trainpart_properties call Prohibits flipping of all wagons when extent_h wasn't set --- advtrains/trainlogic.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/advtrains/trainlogic.lua b/advtrains/trainlogic.lua index 8fe4c6a..d51f1eb 100644 --- a/advtrains/trainlogic.lua +++ b/advtrains/trainlogic.lua @@ -560,7 +560,7 @@ function advtrains.train_step_b(id, train, dtime) if train_moves then --TO BE REMOVED: - if not train.extent_h then advtrains.update_trainpart_properties(id, train) end + if not train.extent_h then advtrains.update_trainpart_properties(id) end local collpos local coll_grace=1 -- cgit v1.2.3