aboutsummaryrefslogtreecommitdiff
path: root/advtrains_interlocking
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2019-02-21 08:53:41 +0100
committerorwell96 <orwell@bleipb.de>2019-02-21 08:53:41 +0100
commit2ba75784c22ef914c2fbf427ef9c3b96473fe629 (patch)
tree1289a9abcaf9a3dab5ace0e1048cae2b0b8b78dd /advtrains_interlocking
parentf2c2aad32940311914cc0d8d9b6b216d02d34d55 (diff)
downloadadvtrains-2ba75784c22ef914c2fbf427ef9c3b96473fe629.tar.gz
advtrains-2ba75784c22ef914c2fbf427ef9c3b96473fe629.tar.bz2
advtrains-2ba75784c22ef914c2fbf427ef9c3b96473fe629.zip
Fix moving Signal IPs (no duplicate IPs)
Diffstat (limited to 'advtrains_interlocking')
-rw-r--r--advtrains_interlocking/database.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/advtrains_interlocking/database.lua b/advtrains_interlocking/database.lua
index bd354b2..7571a2c 100644
--- a/advtrains_interlocking/database.lua
+++ b/advtrains_interlocking/database.lua
@@ -552,6 +552,7 @@ end
-- set signal assignment.
function ildb.set_ip_signal(pts, connid, spos)
+ ildb.clear_ip_by_signalpos(spos)
if not influence_points[pts] then
influence_points[pts] = {}
end