diff options
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 |