diff options
author | orwell96 <orwell@bleipb.de> | 2021-12-31 16:04:04 +0100 |
---|---|---|
committer | orwell96 <orwell@bleipb.de> | 2021-12-31 16:04:04 +0100 |
commit | ef8391a60d8221f883d54c68373607d7bb3cf4c7 (patch) | |
tree | c30e0cd18af0613053b7b3e35593738ac9c1d595 /advtrains | |
parent | 78e0c650e3a3d92facef11ddbf3a58a9dc22bae8 (diff) | |
download | advtrains-ef8391a60d8221f883d54c68373607d7bb3cf4c7.tar.gz advtrains-ef8391a60d8221f883d54c68373607d7bb3cf4c7.tar.bz2 advtrains-ef8391a60d8221f883d54c68373607d7bb3cf4c7.zip |
atc_reset(): Removed unused string parameter and also clear ATC autocouple flag (Cpl)
Fixes H#189 and H#190
Diffstat (limited to 'advtrains')
-rw-r--r-- | advtrains/atc.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/advtrains/atc.lua b/advtrains/atc.lua index 8cb3e8f..c1ff218 100644 --- a/advtrains/atc.lua +++ b/advtrains/atc.lua @@ -93,6 +93,7 @@ function atc.train_reset_command(train, keep_tarvel) train.atc_delay=nil train.atc_brake_target=nil train.atc_wait_finish=nil + train.atc_wait_autocouple=nil train.atc_arrow=nil if not keep_tarvel then train.tarvelocity=nil |