aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2019-03-09 09:58:17 +0100
committerorwell96 <orwell@bleipb.de>2019-03-09 09:58:17 +0100
commit56a105dd2ec8aa04975d45caf9e23ef2ba7fdd42 (patch)
tree839bb748fba4379eb8a03745138b5e2ae899fa4f
parent042dcd241d135af73fd5b464369139cfbff8e1bc (diff)
downloadadvtrains-56a105dd2ec8aa04975d45caf9e23ef2ba7fdd42.tar.gz
advtrains-56a105dd2ec8aa04975d45caf9e23ef2ba7fdd42.tar.bz2
advtrains-56a105dd2ec8aa04975d45caf9e23ef2ba7fdd42.zip
Restore old door status display behavior
-rw-r--r--advtrains/trainhud.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/advtrains/trainhud.lua b/advtrains/trainhud.lua
index 8630d62..d8b25ee 100644
--- a/advtrains/trainhud.lua
+++ b/advtrains/trainhud.lua
@@ -203,7 +203,7 @@ function advtrains.hud_train_format(train, flip)
end
local shtind = train.is_shunt and "S" or ">"
- topLine=" ["..mletter[fct].."] {"..levers.."} "..doorstr[(train.door_open or 0) * fct].." "..(train.line and "L: "..train.line or "")
+ topLine=" ["..mletter[fct].."] {"..levers.."} "..doorstr[(train.door_open or 0)].." "..(train.line and "L: "..train.line or "")
firstLine=attrans("Speed:").." |"..string.rep("+", vel)..string.rep("_", res-vel).."|"..string.rep("_", max-res)..shtind.." "..vel_kmh.." km/h"
if train.speed_restriction == 0 then
firstLine = "OVERRUN RED SIGNAL! Examine situation and reverse train to move again."