diff options
author | Y. Wang <yw05@forksworld.de> | 2022-07-03 12:45:27 +0200 |
---|---|---|
committer | Y. Wang <yw05@forksworld.de> | 2023-03-23 20:06:02 +0100 |
commit | 875968f078ef89b13afae6d02a2dabe5ea7897cb (patch) | |
tree | 5b3c43ace046b595d09291e1af0e0a0136d7e13a /advtrains_signals_japan | |
parent | bd20da95ec5e1c113a57b7ac2c75d08b87cbf793 (diff) | |
download | advtrains-875968f078ef89b13afae6d02a2dabe5ea7897cb.tar.gz advtrains-875968f078ef89b13afae6d02a2dabe5ea7897cb.tar.bz2 advtrains-875968f078ef89b13afae6d02a2dabe5ea7897cb.zip |
Unassign distant signals when canceling route
Diffstat (limited to 'advtrains_signals_japan')
-rw-r--r-- | advtrains_signals_japan/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/advtrains_signals_japan/init.lua b/advtrains_signals_japan/init.lua index 9ccf66b..2062a21 100644 --- a/advtrains_signals_japan/init.lua +++ b/advtrains_signals_japan/init.lua @@ -321,7 +321,7 @@ local function process_signal(name, sigdata, isrpt) tt[#tt+1] = string.format("0,%d=(advtrains_hud_bg.png\\^[colorize\\:%s)", lightcount-1, color) end tx[aspname] = table.concat(tt, ":") - type2def.main[idx] = {name = asp.name, label = S(aspnames[asp.name]), main = asp.main or false} + type2def.main[idx] = {name = asp.name, label = S(aspnames[asp.name]), main = asp.main, proceed_as_main = true} end local invimg = { string.format("[combine:%dx%d", lightcount*4+1, lightcount*4+1), |