diff options
author | orwell <orwell@bleipb.de> | 2025-01-07 21:54:31 +0100 |
---|---|---|
committer | orwell <orwell@bleipb.de> | 2025-01-07 21:54:31 +0100 |
commit | 38acdbbe1d3a9f2c91ced0281cd58b6c29cff401 (patch) | |
tree | 9b68f376872e4e6a142f01aa783d23b6983af6f3 /advtrains_interlocking/database.lua | |
parent | fed637080a4dcfee889bdfa30ca4744018b92e00 (diff) | |
download | advtrains-38acdbbe1d3a9f2c91ced0281cd58b6c29cff401.tar.gz advtrains-38acdbbe1d3a9f2c91ced0281cd58b6c29cff401.tar.bz2 advtrains-38acdbbe1d3a9f2c91ced0281cd58b6c29cff401.zip |
Change logic for pure distant signals: remain assigned even after train clears TCB (mirror real life behavior)
Diffstat (limited to 'advtrains_interlocking/database.lua')
-rw-r--r-- | advtrains_interlocking/database.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/advtrains_interlocking/database.lua b/advtrains_interlocking/database.lua index 38b1bc8..077e58a 100644 --- a/advtrains_interlocking/database.lua +++ b/advtrains_interlocking/database.lua @@ -1029,7 +1029,7 @@ function ildb.is_ip_at(pos, purge) if purge then -- is there still a signal assigned to it? for connid, sigpos in pairs(influence_points[pts]) do - local asp = advtrains.interlocking.signal.get_aspect(sigpos) + local asp = advtrains.interlocking.signal.get_aspect_info(sigpos) if not asp then atlog("Clearing orphaned signal influence point", pts, "/", connid) ildb.clear_ip_signal(pts, connid) |