aboutsummaryrefslogtreecommitdiff
path: root/advtrains/occupation.lua
diff options
context:
space:
mode:
authorBlockhead <jbis1337@hotmail.com>2020-09-14 19:59:15 +1000
committerBlockhead <jbis1337@hotmail.com>2020-09-14 19:59:15 +1000
commit61009bf00dc705077ca42d003e4c164d162f83ab (patch)
treefc1d73e20f88db6ccbedd39a50bed28247594726 /advtrains/occupation.lua
parent487ca4e38cddcb5245b2d42134ee15390b0c1dda (diff)
downloadadvtrains-61009bf00dc705077ca42d003e4c164d162f83ab.tar.gz
advtrains-61009bf00dc705077ca42d003e4c164d162f83ab.tar.bz2
advtrains-61009bf00dc705077ca42d003e4c164d162f83ab.zip
Fix issues introduced by changes to switching
The code I wrote worked only for my y-turnout and 3-way variants because it assumed the variant name == the switching state, which is obviously wrong for the default sw(l|r)(st|cr) variants. I have added a 'switchprefix' property to address this.
Diffstat (limited to 'advtrains/occupation.lua')
0 files changed, 0 insertions, 0 deletions