diff options
author | orwell <orwell@bleipb.de> | 2024-06-12 00:25:14 +0200 |
---|---|---|
committer | orwell <orwell@bleipb.de> | 2024-06-12 00:25:14 +0200 |
commit | dcceb65ff04573375016f2460edcbd349e506a4e (patch) | |
tree | 413ca8ce482a75bb7612888dd02a23870e118714 /advtrains_signals_ks | |
parent | 72cae1327527672afe2bbb47662d42a44f086942 (diff) | |
download | advtrains-dcceb65ff04573375016f2460edcbd349e506a4e.tar.gz advtrains-dcceb65ff04573375016f2460edcbd349e506a4e.tar.bz2 advtrains-dcceb65ff04573375016f2460edcbd349e506a4e.zip |
Respect route_role of signals during routesetting, assign distant signals in routes
Diffstat (limited to 'advtrains_signals_ks')
-rwxr-xr-x | advtrains_signals_ks/init.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/advtrains_signals_ks/init.lua b/advtrains_signals_ks/init.lua index 46b9971..6afc66d 100755 --- a/advtrains_signals_ks/init.lua +++ b/advtrains_signals_ks/init.lua @@ -218,6 +218,7 @@ for _, rtab in ipairs({ main_aspects = mainaspects_main, apply_aspect = applyaspectf_main(rot), get_aspect_info = afunc, + route_role = "main_distant", }, on_rightclick = advtrains.interlocking.signal.on_rightclick, can_dig = advtrains.interlocking.signal.can_dig, @@ -261,6 +262,7 @@ for _, rtab in ipairs({ main_aspects = mainaspects_ra, apply_aspect = applyaspectf_ra(rot), get_aspect_info = prts.asp, + route_role = "shunt", }, on_rightclick = advtrains.interlocking.signal.on_rightclick, can_dig = advtrains.interlocking.signal.can_dig, |