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.
master
Blockhead 2020-10-11 12:02:16 +02:00 committed by Gabriel Pérez-Cerezo
parent 3256c2778d
commit 2ecd474ed7
1 changed files with 3 additions and 3 deletions

View File

@ -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",