diff options
author | Blockhead <jbis1337@hotmail.com> | 2020-09-14 19:59:15 +1000 |
---|---|---|
committer | Blockhead <jbis1337@hotmail.com> | 2020-09-14 19:59:15 +1000 |
commit | 61009bf00dc705077ca42d003e4c164d162f83ab (patch) | |
tree | fc1d73e20f88db6ccbedd39a50bed28247594726 /advtrains/occupation.lua | |
parent | 487ca4e38cddcb5245b2d42134ee15390b0c1dda (diff) | |
download | advtrains-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