aboutsummaryrefslogtreecommitdiff
path: root/advtrains_interlocking/routesetting.lua
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2018-08-12 16:58:47 +0200
committerorwell96 <orwell@bleipb.de>2018-08-12 16:58:47 +0200
commita92ecbc26a14a193f103fe6a626eae000fe9b949 (patch)
tree7a88ed25c10d77eebf73d0f4d9f804b640070993 /advtrains_interlocking/routesetting.lua
parent0ec89364c01eceb5c47f9cc3503d3561064b7fdb (diff)
downloadadvtrains-a92ecbc26a14a193f103fe6a626eae000fe9b949.tar.gz
advtrains-a92ecbc26a14a193f103fe6a626eae000fe9b949.tar.bz2
advtrains-a92ecbc26a14a193f103fe6a626eae000fe9b949.zip
Automatic working (re-set certain route on train pass)
Diffstat (limited to 'advtrains_interlocking/routesetting.lua')
-rw-r--r--advtrains_interlocking/routesetting.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/advtrains_interlocking/routesetting.lua b/advtrains_interlocking/routesetting.lua
index 1e516a6..bfcfee7 100644
--- a/advtrains_interlocking/routesetting.lua
+++ b/advtrains_interlocking/routesetting.lua
@@ -253,6 +253,7 @@ function ilrs.update_route(sigd, tcbs, newrte, cancel)
end
tcbs.route_committed = nil
tcbs.routeset = newrte
+ tcbs.route_auto = nil
end
if newrte or tcbs.routeset then
if newrte then tcbs.routeset = newrte end