Fixes fuer Anzeige von Signalbegriff im Tooltip

This commit is contained in:
Nero 2022-06-23 09:13:34 +00:00
parent d4878f781c
commit ce0a2c21ed
2 changed files with 6 additions and 4 deletions

View file

@ -44,12 +44,12 @@ function BegriffErklaeren(Begriff)
if Begriff[1]==HALT then return "Halt" end
if Begriff[1]==RANGIERFAHRT then return "Rangierfahrt" end
if Begriff[1]==ERSATZFAHRT then return "Fahrt auf Ersatzsignal" end
if Begriff[1]==AUS then return "Signal ausgeschaltet" end
if Begriff[1]==AUS then return "Aus" end
local txt = "Fahrt"
if Begriff.H_erwarten ~= nil then
txt = "Halt erwarten"
if Begriff.kurz ~= nil then
txt = "Halt im verkürzten Abstand"
if Begriff.kurz then
txt = txt.." (kurzer Bremsweg)"
end
end
if Begriff.V_max then