aboutsummaryrefslogtreecommitdiff
path: root/advtrains_signals_muc_ubahn
diff options
context:
space:
mode:
authororwell <orwell@bleipb.de>2024-06-12 00:25:14 +0200
committerorwell <orwell@bleipb.de>2024-06-12 00:25:14 +0200
commitdcceb65ff04573375016f2460edcbd349e506a4e (patch)
tree413ca8ce482a75bb7612888dd02a23870e118714 /advtrains_signals_muc_ubahn
parent72cae1327527672afe2bbb47662d42a44f086942 (diff)
downloadadvtrains-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-xadvtrains_signals_muc_ubahn/init.lua1
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