From a8d53ea2484463f7fc8329cb67b56e4d0f321dbd Mon Sep 17 00:00:00 2001 From: orwell Date: Mon, 25 Nov 2024 22:39:48 +0100 Subject: Clear route_rsn when route commit succeeds and on section entering --- advtrains_interlocking/train_sections.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'advtrains_interlocking/train_sections.lua') 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 -- cgit v1.2.3