aboutsummaryrefslogtreecommitdiff
path: root/advtrains
diff options
context:
space:
mode:
authorBlockhead <jbis1337@hotmail.com>2020-10-11 12:02:16 +0200
committerGabriel PĂ©rez-Cerezo <gabriel@gpcf.eu>2020-10-11 12:28:41 +0200
commit2ecd474ed74bcf63eb7e8081ce1caf4422fd9a56 (patch)
tree98c5c6c6c60ff4161a76ad27f84231958efc26ec /advtrains
parent3256c2778d626548541bcdfabf3026f781a2287c (diff)
downloadadvtrains-2ecd474ed74bcf63eb7e8081ce1caf4422fd9a56.tar.gz
advtrains-2ecd474ed74bcf63eb7e8081ce1caf4422fd9a56.tar.bz2
advtrains-2ecd474ed74bcf63eb7e8081ce1caf4422fd9a56.zip
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.
Diffstat (limited to 'advtrains')
-rw-r--r--advtrains/tracks.lua6
1 files 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",