diff options
Diffstat (limited to 'advtrains/trainhud.lua')
-rw-r--r-- | advtrains/trainhud.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/advtrains/trainhud.lua b/advtrains/trainhud.lua index eb21e5b..f8f931d 100644 --- a/advtrains/trainhud.lua +++ b/advtrains/trainhud.lua @@ -303,6 +303,7 @@ function advtrains.hud.speed_horizontal(train, x, y, w, h, m) local res = train.speed_restriction local vel = advtrains.abs_ceil(train.velocity) local tar = train.tarvelocity + local res = train.speed_restriction local st = {} for i = 1, vel do st[i] = sformat("%d,%d=(advtrains_hud_bg.png^[resize\\:%dx%d^[colorize\\:white)", x+(i-1)*(barw+m), y+5, barw, barh) |