diff options
author | orwell96 <orwell@bleipb.de> | 2020-01-30 13:59:46 +0100 |
---|---|---|
committer | orwell96 <orwell@bleipb.de> | 2021-02-10 16:36:24 +0100 |
commit | aee7f0d4198c441c3dd4cb5d33f488607a1a81a5 (patch) | |
tree | 4a0d1eecb99885e88f3f00c606fffc7d07cd5c00 /advtrains_signals_ks | |
parent | 119a09b784ad3f3c6bfd327f32164cb099f47f10 (diff) | |
download | advtrains-aee7f0d4198c441c3dd4cb5d33f488607a1a81a5.tar.gz advtrains-aee7f0d4198c441c3dd4cb5d33f488607a1a81a5.tar.bz2 advtrains-aee7f0d4198c441c3dd4cb5d33f488607a1a81a5.zip |
Fix things, rework signal aspect select dialog, transform old aspects on-the-fly
Diffstat (limited to 'advtrains_signals_ks')
-rw-r--r-- | advtrains_signals_ks/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/advtrains_signals_ks/init.lua b/advtrains_signals_ks/init.lua index deceb33..3559d51 100644 --- a/advtrains_signals_ks/init.lua +++ b/advtrains_signals_ks/init.lua @@ -13,7 +13,7 @@ local setaspectf = function(rot) advtrains.ndb.swap_node(pos, {name="advtrains_signals_ks:hs_danger_"..rot, param2 = node.param2}) end else - if asp.dst != 0 and asp.main == -1 then + if asp.dst ~= 0 and asp.main == -1 then advtrains.ndb.swap_node(pos, {name="advtrains_signals_ks:hs_free_"..rot, param2 = node.param2}) else advtrains.ndb.swap_node(pos, {name="advtrains_signals_ks:hs_slow_"..rot, param2 = node.param2}) |