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_muc_ubahn | |
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_muc_ubahn')
-rwxr-xr-x | advtrains_signals_muc_ubahn/init.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/advtrains_signals_muc_ubahn/init.lua b/advtrains_signals_muc_ubahn/init.lua index 4088ba6..59d0337 100755 --- a/advtrains_signals_muc_ubahn/init.lua +++ b/advtrains_signals_muc_ubahn/init.lua @@ -77,6 +77,7 @@ for r,f in pairs(all_sigs) do main_aspects = not f.distant and mainaspects, -- main aspects only for main apply_aspect = f.distant and applyaspect_distant(loc) or applyaspect_main(loc), get_aspect_info = function() return f.asp end, + route_role = f.distant and "distant" or "main" }, }) end |