diff options
author | orwell <orwell@bleipb.de> | 2024-12-05 23:31:11 +0100 |
---|---|---|
committer | orwell <orwell@bleipb.de> | 2024-12-05 23:31:11 +0100 |
commit | ced8d8998de6b2cb6a758224641c125d02efea41 (patch) | |
tree | 025a83e2a7b15ea07b8a0b99f92d570b8a2d954c /advtrains_interlocking/tcb_ts_ui.lua | |
parent | b2889e33ba389c936b9d6b1ca5be27ef8f147280 (diff) | |
download | advtrains-ced8d8998de6b2cb6a758224641c125d02efea41.tar.gz advtrains-ced8d8998de6b2cb6a758224641c125d02efea41.tar.bz2 advtrains-ced8d8998de6b2cb6a758224641c125d02efea41.zip |
Route Edit: Support aspect selection per signal, support call-on routes
Diffstat (limited to 'advtrains_interlocking/tcb_ts_ui.lua')
-rwxr-xr-x | advtrains_interlocking/tcb_ts_ui.lua | 4 |
1 files changed, 2 insertions, 2 deletions
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 = <use default> - assign_dst = fields.setupblockshort and true, -- assign dst, if short block was selected default_autoworking = true, } local rid = #tcbs.routes + 1 -- typically 1 |