diff --git a/env_setup-fahrplan.lua b/env_setup-fahrplan.lua index d0f8a6c929e20d926e4b1ee93c1ed92e61dde59a..b50801c3d357e049ea2039e9783556ecc5e233cb 100644 --- a/env_setup-fahrplan.lua +++ b/env_setup-fahrplan.lua @@ -38,6 +38,7 @@ S.lines = { circle=false, stations= { {name="Neuland HBF unten",entry="west", platform="U2", exit='south'}, + {name="Auditorium Sued",entry="west", platform="2", exit='east'}, {name="Auditorium",entry="south", platform="1", exit='west'}, {name="Anmeldung",entry="south", platform="2", exit='north'}, {name="Neuland HBF unten",entry="south", platform="U6", exit='west'}, @@ -347,10 +348,14 @@ F.platform_exit_trigger = function(station, platform, event, atc_arrow, get_line F.enter_platform(station, platform, line, true) end end - elseif event.approach and not atc_arrow then - local line = get_line() - if line ~= nil then - F.approach_station(station, entry, line, true) + elseif event.approach then + if not atc_arrow then + local line = get_line() + if line ~= nil then + F.approach_station(station, entry, line, true) + end + else + F.exit_platform(station, platform, line, true) end end end @@ -595,6 +600,7 @@ F.typeset_arrivals = function(arrivals, screen_width) end end if #screen_lines < 1 then + table.insert(screen_lines, "") table.insert(screen_lines, "") table.insert(screen_lines, "no arrivals") end