diff options
author | autocommitter <autocommitter@linux-forks.de> | 2024-12-23 00:00:02 +0100 |
---|---|---|
committer | autocommitter <autocommitter@linux-forks.de> | 2024-12-23 00:00:02 +0100 |
commit | 2cf17c94b1b6d6131bbabdee27bf2258932cf023 (patch) | |
tree | f80eb69dedbba0ed06594465d02b7bea2fef92af /auto_yards/nodes | |
parent | 9a4091e4e8da6da46338725797c2a6210e57ab7d (diff) | |
download | luaatc_envs-2cf17c94b1b6d6131bbabdee27bf2258932cf023.tar.gz luaatc_envs-2cf17c94b1b6d6131bbabdee27bf2258932cf023.tar.bz2 luaatc_envs-2cf17c94b1b6d6131bbabdee27bf2258932cf023.zip |
Diffstat (limited to 'auto_yards/nodes')
-rw-r--r-- | auto_yards/nodes/(-4148,13,-5844).lua | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/auto_yards/nodes/(-4148,13,-5844).lua b/auto_yards/nodes/(-4148,13,-5844).lua index 06ab20e..18e89c5 100644 --- a/auto_yards/nodes/(-4148,13,-5844).lua +++ b/auto_yards/nodes/(-4148,13,-5844).lua @@ -1,4 +1,5 @@ -- Automatic bouncer for headshunts, assuming longer headshunt than train length. Arrow points into headshunt +-- modified to bounce all trains, rc removal still works though local rev_rc = "DLG_HS_S" local rm_rc = true local autocouple = "DLG_HS_S_AC" @@ -22,10 +23,10 @@ if event.train then return end - if not F.has_rc(rev_rc) then --not our train. disregard - atc_set_ars_disable(false) - return - end + -- if not F.has_rc(rev_rc) then --not our train. disregard + -- atc_set_ars_disable(false) + -- return + -- end if rm_rc then F.remove_rc({rev_rc}) end schedule_in(";01",atc_id) return |