aboutsummaryrefslogtreecommitdiff
path: root/advtrains/trainhud.lua
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2021-01-14 10:27:42 +0100
committerorwell96 <orwell@bleipb.de>2021-02-10 16:45:29 +0100
commitfad6f88bab0dc0d3999f2845d1144b7936c1a370 (patch)
tree6ef552137108775adee493e22e456137f32aee8f /advtrains/trainhud.lua
parent556e0782f718f05decf2a9e2b14ab20b5097c1ab (diff)
downloadadvtrains-fad6f88bab0dc0d3999f2845d1144b7936c1a370.tar.gz
advtrains-fad6f88bab0dc0d3999f2845d1144b7936c1a370.tar.bz2
advtrains-fad6f88bab0dc0d3999f2845d1144b7936c1a370.zip
Fix hud and trainlogic to work together
Diffstat (limited to 'advtrains/trainhud.lua')
-rw-r--r--advtrains/trainhud.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/advtrains/trainhud.lua b/advtrains/trainhud.lua
index 1969f0e..429c164 100644
--- a/advtrains/trainhud.lua
+++ b/advtrains/trainhud.lua
@@ -245,7 +245,7 @@ function advtrains.hud_train_format(train, flip)
if train.tarvelocity or train.atc_command then
ht[#ht+1] = "10,10=(advtrains_hud_atc.png^[resize\\:30x30^[multiply\\:cyan)"
end
- if train.ctrl.lzb then
+ if train.hud_lzb_effect_tmr then
ht[#ht+1] = "50,10=(advtrains_hud_lzb.png^[resize\\:30x30^[multiply\\:red)"
end
if train.is_shunt then