From ced8d8998de6b2cb6a758224641c125d02efea41 Mon Sep 17 00:00:00 2001 From: orwell Date: Thu, 5 Dec 2024 23:31:11 +0100 Subject: Route Edit: Support aspect selection per signal, support call-on routes --- advtrains_interlocking/tcb_ts_ui.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'advtrains_interlocking/tcb_ts_ui.lua') diff --git a/advtrains_interlocking/tcb_ts_ui.lua b/advtrains_interlocking/tcb_ts_ui.lua index bc52339..dfb2714 100755 --- a/advtrains_interlocking/tcb_ts_ui.lua +++ b/advtrains_interlocking/tcb_ts_ui.lua @@ -1008,12 +1008,12 @@ minetest.register_on_player_receive_fields(function(player, formname, fields) name = "BS", [1] = { next = e_sigd, -- of the next (note: next) TCB on the route - locks = {} -- route locks of this route segment + locks = {}, -- route locks of this route segment + assign_dst = fields.setupblockshort and true, -- assign dst, if short block was selected }, terminal = e_sigd, use_rscache = true, -- main_aspect = - assign_dst = fields.setupblockshort and true, -- assign dst, if short block was selected default_autoworking = true, } local rid = #tcbs.routes + 1 -- typically 1 -- cgit v1.2.3