diff options
author | orwell96 <orwell@bleipb.de> | 2019-01-15 17:23:03 +0100 |
---|---|---|
committer | orwell96 <orwell@bleipb.de> | 2019-01-15 17:23:03 +0100 |
commit | 3ce98cae9aa588fba0be1e86fc81e7ca6040bd9d (patch) | |
tree | 6427527fd2d3fe84ad41b49368fe0b3b868f6980 /advtrains_interlocking/routesetting.lua | |
parent | 12f8e26cb47f2dc365c69ff721b4c3faf348c61d (diff) | |
download | advtrains-3ce98cae9aa588fba0be1e86fc81e7ca6040bd9d.tar.gz advtrains-3ce98cae9aa588fba0be1e86fc81e7ca6040bd9d.tar.bz2 advtrains-3ce98cae9aa588fba0be1e86fc81e7ca6040bd9d.zip |
Actual working ARS
Diffstat (limited to 'advtrains_interlocking/routesetting.lua')
-rw-r--r-- | advtrains_interlocking/routesetting.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/advtrains_interlocking/routesetting.lua b/advtrains_interlocking/routesetting.lua index 1edc631..7b08c4e 100644 --- a/advtrains_interlocking/routesetting.lua +++ b/advtrains_interlocking/routesetting.lua @@ -262,7 +262,10 @@ end -- TCBS Routesetting helper: generic update function for -- route setting - +-- Call this function to set and cancel routes! +-- sigd, tcbs: self-explanatory +-- newrte: If a new route should be set, the route index of it (in tcbs.routes). nil otherwise +-- cancel: true in combination with newrte=nil causes cancellation of the current route. function ilrs.update_route(sigd, tcbs, newrte, cancel) -- in general, always show danger signal tcbs.aspect = nil |