From 2ecd474ed74bcf63eb7e8081ce1caf4422fd9a56 Mon Sep 17 00:00:00 2001 From: Blockhead Date: Sun, 11 Oct 2020 12:02:16 +0200 Subject: Fix 3-way conns table so traverser doesn't complain The remaining patch to make advtrains master stable: we can't have any conns entries without a 'c' member, so make all ["3"] entries into just ["c"] entries. --- advtrains/tracks.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/advtrains/tracks.lua b/advtrains/tracks.lua index 6799c40..549363d 100644 --- a/advtrains/tracks.lua +++ b/advtrains/tracks.lua @@ -130,21 +130,21 @@ advtrains.ap.t_s3way={ regstep=1, variant={ l={ - conns = { {c=0}, {c=7}, {c=8}, {c=9}, {["3"]=0} }, + conns = { {c=0}, {c=7}, {c=8}, {c=9}, {c=0} }, desc = "3-way turnout (left)", switchalt = "s", switchst="l", switchprefix = "", }, s={ - conns = { {c=0}, {c=8}, {c=7}, {c=9}, {["3"]=0} }, + conns = { {c=0}, {c=8}, {c=7}, {c=9}, {c=0} }, desc = "3-way turnout (straight)", switchalt ="r", switchst = "s", switchprefix = "", }, r={ - conns = { {c=0}, {c=9}, {c=8}, {c=7}, {["3"]=0} }, + conns = { {c=0}, {c=9}, {c=8}, {c=7}, {c=0} }, desc = "3-way turnout (right)", switchalt = "l", switchst="r", -- cgit v1.2.3