summaryrefslogtreecommitdiff
path: root/auto_yards/nodes/(417,17,4).lua
diff options
context:
space:
mode:
authorautocommitter <autocommitter@linux-forks.de>2024-11-02 00:00:01 +0100
committerautocommitter <autocommitter@linux-forks.de>2024-11-02 00:00:01 +0100
commit91cc36ecd4e2c68040642dbaf0b0dc46106df61c (patch)
tree9c663a4233ddc831f6c3d0ed10a4d8166d4b93db /auto_yards/nodes/(417,17,4).lua
parent2d065ce9bedc6c7c0740a9148e96463749f8bf24 (diff)
downloadluaatc_envs-91cc36ecd4e2c68040642dbaf0b0dc46106df61c.tar.gz
luaatc_envs-91cc36ecd4e2c68040642dbaf0b0dc46106df61c.tar.bz2
luaatc_envs-91cc36ecd4e2c68040642dbaf0b0dc46106df61c.zip
State at 2024-11-02
Diffstat (limited to 'auto_yards/nodes/(417,17,4).lua')
-rw-r--r--auto_yards/nodes/(417,17,4).lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/auto_yards/nodes/(417,17,4).lua b/auto_yards/nodes/(417,17,4).lua
index b634cde..b72d4eb 100644
--- a/auto_yards/nodes/(417,17,4).lua
+++ b/auto_yards/nodes/(417,17,4).lua
@@ -25,7 +25,7 @@ if event.channel=="clock" then
txt[#txt+1] = "Active: " .. tostring(F.indicator(info.active_indicator_pos))
txt[#txt+1] = "Direction: " .. tostring(F.indicator(info.dir_indicator_pos))
- txt[#txt+1] = "Last Train: " .. tostring(info.last_id).." ("..tostring(info.arrival_length).."-"..tostring(info.departure_length)..")"
+ txt[#txt+1] = "Last Train: " .. tostring(S.known_trains[info.last_id] or info.last_id).." ("..tostring(info.arrival_length).."-"..tostring(info.departure_length)..")"
txt2[#txt2+1] = "Time: "..tostring(rwt.to_string(info.arrival_time)).."+"..tostring(rwt.to_string(rwt.diff(info.arrival_time,info.departure_time)))
digiline_send(yard_id.."_1",table.concat(txt,"\n"))