aboutsummaryrefslogtreecommitdiff
path: root/advtrains_interlocking/train_sections.lua
diff options
context:
space:
mode:
authororwell <orwell@bleipb.de>2024-11-25 22:39:48 +0100
committerorwell <orwell@bleipb.de>2024-11-25 22:39:48 +0100
commita8d53ea2484463f7fc8329cb67b56e4d0f321dbd (patch)
treebf2a264267e70cb69ee1a2b3e627ef5e51964b31 /advtrains_interlocking/train_sections.lua
parent95faa8f1baa68c3f6a104160d61713ade276676b (diff)
downloadadvtrains-a8d53ea2484463f7fc8329cb67b56e4d0f321dbd.tar.gz
advtrains-a8d53ea2484463f7fc8329cb67b56e4d0f321dbd.tar.bz2
advtrains-a8d53ea2484463f7fc8329cb67b56e4d0f321dbd.zip
Clear route_rsn when route commit succeeds and on section entering
Diffstat (limited to 'advtrains_interlocking/train_sections.lua')
-rw-r--r--advtrains_interlocking/train_sections.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/advtrains_interlocking/train_sections.lua b/advtrains_interlocking/train_sections.lua
index 083676b..48e3342 100644
--- a/advtrains_interlocking/train_sections.lua
+++ b/advtrains_interlocking/train_sections.lua
@@ -101,6 +101,7 @@ local function setsection(tid, train, ts_id, ts, sigd)
tcbs.route_aspect = nil
tcbs.route_remote = nil
tcbs.route_origin = nil
+ tcbs.route_rsn = nil
if not tcbs.route_auto then
tcbs.routeset = nil
end