From 2ba75784c22ef914c2fbf427ef9c3b96473fe629 Mon Sep 17 00:00:00 2001 From: orwell96 Date: Thu, 21 Feb 2019 08:53:41 +0100 Subject: [PATCH] Fix moving Signal IPs (no duplicate IPs) --- advtrains_interlocking/database.lua | 1 + 1 file changed, 1 insertion(+) 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