diff options
author | autocommitter <autocommitter@linux-forks.de> | 2024-10-28 00:00:01 +0100 |
---|---|---|
committer | autocommitter <autocommitter@linux-forks.de> | 2024-10-28 00:00:01 +0100 |
commit | 1b9809da8b7b72ae9c59dbeabbfe76a26191f1a0 (patch) | |
tree | 09a00e6632a68cbb6e4869a6213f8c44d7dab4bb /durt/nodes/(-4152,13,-5840).lua | |
parent | 572b186e28ddc2a630613765c0f0780b4664380f (diff) | |
download | luaatc_envs-1b9809da8b7b72ae9c59dbeabbfe76a26191f1a0.tar.gz luaatc_envs-1b9809da8b7b72ae9c59dbeabbfe76a26191f1a0.tar.bz2 luaatc_envs-1b9809da8b7b72ae9c59dbeabbfe76a26191f1a0.zip |
State at 2024-10-28
Diffstat (limited to 'durt/nodes/(-4152,13,-5840).lua')
-rw-r--r-- | durt/nodes/(-4152,13,-5840).lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/durt/nodes/(-4152,13,-5840).lua b/durt/nodes/(-4152,13,-5840).lua index 2611c48..8ef8f3d 100644 --- a/durt/nodes/(-4152,13,-5840).lua +++ b/durt/nodes/(-4152,13,-5840).lua @@ -35,13 +35,14 @@ local function send_train() end --no departures to collect, go straight to TYARD set_rc(table.concat(cmd," ")) - atc_send("S0WRD2A1S4") + atc_send("I+S0WR;D2A1S4") F.indicator(TYARD_notify_indicator,false) return true end if event.schedule then - if event.message == "check_again" then + print(rwt.to_string(rwt.now())..tostring(event.msg)) + if event.msg == "check_again" then if not send_train() then --will either send train or continue clock schedule_in("1;0","check_again") return |