diff options
author | autocommitter <autocommitter@linux-forks.de> | 2024-11-02 00:00:01 +0100 |
---|---|---|
committer | autocommitter <autocommitter@linux-forks.de> | 2024-11-02 00:00:01 +0100 |
commit | 91cc36ecd4e2c68040642dbaf0b0dc46106df61c (patch) | |
tree | 9c663a4233ddc831f6c3d0ed10a4d8166d4b93db /auto_yards/nodes/(417,17,4).lua | |
parent | 2d065ce9bedc6c7c0740a9148e96463749f8bf24 (diff) | |
download | luaatc_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).lua | 2 |
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")) |