aboutsummaryrefslogtreecommitdiff
path: root/advtrains/trainlogic.lua
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2018-11-20 12:02:03 +0100
committerorwell96 <orwell@bleipb.de>2018-11-20 12:03:34 +0100
commitdf29faccc05a939b1f20b60d9b497c08eb2d417e (patch)
tree027ba66804d08311fa2ad0b62755ce49f1134e16 /advtrains/trainlogic.lua
parent37166b5c142b6b3578e589b75b86d2e11345f49d (diff)
downloadadvtrains-df29faccc05a939b1f20b60d9b497c08eb2d417e.tar.gz
advtrains-df29faccc05a939b1f20b60d9b497c08eb2d417e.tar.bz2
advtrains-df29faccc05a939b1f20b60d9b497c08eb2d417e.zip
Remove superfluous "tarvelocity" assignments
Diffstat (limited to 'advtrains/trainlogic.lua')
-rw-r--r--advtrains/trainlogic.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/advtrains/trainlogic.lua b/advtrains/trainlogic.lua
index e8518e7..8cfad4c 100644
--- a/advtrains/trainlogic.lua
+++ b/advtrains/trainlogic.lua
@@ -1002,7 +1002,6 @@ function advtrains.do_connect_trains(first_id, second_id)
advtrains.remove_train(second_id)
first.velocity=0
- first.tarvelocity=0
advtrains.update_trainpart_properties(first_id)
advtrains.couple_invalidate(first)