diff options
author | orwell96 <orwell@bleipb.de> | 2021-03-12 17:56:07 +0100 |
---|---|---|
committer | orwell96 <orwell@bleipb.de> | 2021-03-12 17:56:07 +0100 |
commit | b2d7bbb2c577a2b28cdaf421daf9b143f4376c8a (patch) | |
tree | 49d7ec4e1a3c4b6cf64180978fdc6bd5a8486606 /advtrains/tracks.lua | |
parent | 2dcf60dec6304abc910dea82c6f9a5904bbf365b (diff) | |
download | advtrains-b2d7bbb2c577a2b28cdaf421daf9b143f4376c8a.tar.gz advtrains-b2d7bbb2c577a2b28cdaf421daf9b143f4376c8a.tar.bz2 advtrains-b2d7bbb2c577a2b28cdaf421daf9b143f4376c8a.zip |
Signal influence points: Make sure to clear on removal of signal, clear orphaned when digging rail
Diffstat (limited to 'advtrains/tracks.lua')
-rw-r--r-- | advtrains/tracks.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/advtrains/tracks.lua b/advtrains/tracks.lua index e034e85..33a7999 100644 --- a/advtrains/tracks.lua +++ b/advtrains/tracks.lua @@ -622,7 +622,7 @@ function advtrains.can_dig_or_modify_track(pos) return false, attrans("There's a Track Circuit Break here.") end -- signal ip? - if advtrains.interlocking.db.is_ip_at(pos) then + if advtrains.interlocking.db.is_ip_at(pos, true) then -- is_ip_at with purge parameter return false, attrans("There's a Signal Influence Point here.") end end |