From 81cc5416a111260d21e63b1029864914ee3709f7 Mon Sep 17 00:00:00 2001 From: autocommitter Date: Mon, 22 Apr 2024 14:57:41 +0200 Subject: State at 2022-06-16 --- auto_yards/init_code.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'auto_yards/init_code.lua') diff --git a/auto_yards/init_code.lua b/auto_yards/init_code.lua index 64c0773..cdeacce 100644 --- a/auto_yards/init_code.lua +++ b/auto_yards/init_code.lua @@ -170,7 +170,7 @@ F.yard_arrival = function(yard_id,this_dir) -- arrow points towards yard return end - if event.train then + if event.train and atc_arrow then if F.indicator(yard.active_indicator_pos) then print("Train "..atc_id.." has arrived at "..yard_id.." yard and has to wait for the yard to deactivate.") schedule_in(";10","recheck") -- cgit v1.2.3