readme atc_set_ars_disable typo

master
Maverick2797 2021-10-31 11:42:31 +08:00 committed by Gabriel Pérez-Cerezo
parent 00d12120b9
commit 43c85ab8cf
2 changed files with 2 additions and 2 deletions

4
advtrains_luaautomation/README.md Executable file → Normal file
View File

@ -316,10 +316,10 @@ Deprecated:
#### Interlocking
This additional function is available when advtrains_interlocking is enabled:
- `atc_set_disable_ars(boolean)`
- `atc_set_ars_disable(boolean)`
Disables (true) or enables (false) the use of ARS for this train. The train will not trigger ARS (automatic route setting) on signals then.
Note: If you want to disable ARS from an approach callback, the call to `atc_set_disable_ars(true)` *must* happen during the approach callback, and may not be deferred to an interrupt(). Else the train might trigger an ARS before the interrupt fires.
Note: If you want to disable ARS from an approach callback, the call to `atc_set_ars_disable(true)` *must* happen during the approach callback, and may not be deferred to an interrupt(). Else the train might trigger an ARS before the interrupt fires.
#### Approach callbacks
The LuaATC interface provides a way to hook into the approach callback system, which is for example used in the TSR rails (provided by advtrains_interlocking) or the station tracks (provided by advtrains_lines). However, for compatibility reasons, this behavior needs to be explicitly enabled.

0
advtrains_luaautomation/atc_rail.lua Executable file → Normal file
View File