diff options
author | orwell96 <orwell@bleipb.de> | 2021-11-08 22:47:29 +0100 |
---|---|---|
committer | orwell96 <orwell@bleipb.de> | 2021-11-08 22:52:28 +0100 |
commit | 45e18326e34537973a4c88a26ad8991e3935d384 (patch) | |
tree | 5f03590522985d7fc3bdeb9ce3cced8816fcea76 /advtrains | |
parent | 3f6cef730838ed9ab20e445e4078ecc504f1e72e (diff) | |
download | advtrains-45e18326e34537973a4c88a26ad8991e3935d384.tar.gz advtrains-45e18326e34537973a4c88a26ad8991e3935d384.tar.bz2 advtrains-45e18326e34537973a4c88a26ad8991e3935d384.zip |
New-Ks: minor additions/corrections to ywang's work:
- Add sign for line speed 20 (else no way to return to max line speed once set)
- When no distant signal info available (default), Ks displays green light (2 sections free)
- Normal and wall signals again signal maximum speed (persistent restriction can be given via line speed nouw)
Diffstat (limited to 'advtrains')
-rw-r--r-- | advtrains/signals.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/advtrains/signals.lua b/advtrains/signals.lua index 5fb1d1b..b26c950 100644 --- a/advtrains/signals.lua +++ b/advtrains/signals.lua @@ -18,7 +18,7 @@ end local function aspect(b) return { - main = (not b) and 0, -- b ? false : 0 + main = b and -1 or 0, shunt = false, proceed_as_main = true, dst = false, @@ -27,7 +27,7 @@ return { end local suppasp = { - main = {0, false}, + main = {0, -1}, dst = {false}, shunt = nil, proceed_as_main = true, |