aboutsummaryrefslogtreecommitdiff
path: root/advtrains/trainhud.lua
diff options
context:
space:
mode:
Diffstat (limited to 'advtrains/trainhud.lua')
-rw-r--r--advtrains/trainhud.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/advtrains/trainhud.lua b/advtrains/trainhud.lua
index c4a7427..00627f4 100644
--- a/advtrains/trainhud.lua
+++ b/advtrains/trainhud.lua
@@ -181,6 +181,8 @@ Value Disp Control Meaning
function advtrains.hud.dtext(train, flip)
local st = {}
if train.debug then st = {train.debug} end
+
+ st[#st+1] = attrans("Train ID: @1", train.id)
if res and res == 0 then
st[#st+1] = attrans("OVERRUN RED SIGNAL! Examine situation and reverse train to move again.")