diff options
author | orwell <orwell@bleipb.de> | 2024-07-20 18:02:33 +0200 |
---|---|---|
committer | orwell <orwell@bleipb.de> | 2024-07-20 18:02:33 +0200 |
commit | baa50c03920fd0a563fce09929f3d56c3374e8bd (patch) | |
tree | b7a8cf7b94952a7db823cab1de6860e57fd53c25 /advtrains_interlocking/approach.lua | |
parent | c145e5db7473a0baab6438d7c2ed9616948d8387 (diff) | |
download | advtrains-baa50c03920fd0a563fce09929f3d56c3374e8bd.tar.gz advtrains-baa50c03920fd0a563fce09929f3d56c3374e8bd.tar.bz2 advtrains-baa50c03920fd0a563fce09929f3d56c3374e8bd.zip |
ARS supports triggering distant signal, other bugfixes
Diffstat (limited to 'advtrains_interlocking/approach.lua')
-rw-r--r-- | advtrains_interlocking/approach.lua | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/advtrains_interlocking/approach.lua b/advtrains_interlocking/approach.lua index eecf09a..eaf0248 100644 --- a/advtrains_interlocking/approach.lua +++ b/advtrains_interlocking/approach.lua @@ -64,10 +64,7 @@ advtrains.tnc_register_on_approach(function(pos, id, train, index, has_entered, -- resetting the path does not matter to the set route and ARS doesn't need to be called again. if spos and ars_enabled then --atdebug(id,"IL Spos (ARS)",spos,asp) - local sigd = il.db.get_sigd_for_signal(spos) - if sigd then - il.ars_check(sigd, train) - end + il.ars_check(spos, train) end --atdebug("trav: ",pos, cn, asp, spos, "travsht=", lzb.travsht) local lspd |