advtrains/advtrains_interlocking
Y. Wang dd883c5b5e Clear tcbs.route_rsn when a route is set
This appears to fix the issue where route_rsn is not cleared and later
shown on the train HUD even when the route is set.

Note that this only works if the route is (successfully) set after this
patch is applied - it does not clear route_rsn for routes that are
already set.

How to test:
* Set a conflicting route for the train.
* Set a route for the train. Note that a message appears on the train
  HUD explaining that the route cannot be set (this is also the current
  behavior without the patch).
* Cancel the conflicting route. Note that the message on the train HUD
  is cleared.
2024-09-02 22:50:22 +02:00
..
models Interlocking: Create demo signals, signal API and model for TCB configurer node 2018-06-19 19:50:11 +02:00
spec Add more unit tests, fix broken unit test 2021-11-09 21:56:41 +01:00
textures Point speed restriction rails 2019-01-24 13:43:22 +01:00
approach.lua Support different types of speed restrictions; add documentation 2021-11-07 13:49:01 +01:00
ars.lua Route Formspec: When cancelling route, disable ARS only temporarily, not permanently 2021-10-26 20:23:19 +02:00
database.lua Remove TCB marker on TCB removal 2024-08-01 21:59:41 +02:00
demosignals.lua Remove sounds = default.sound_stone_defaults() as default is no longer a dependency 2021-04-04 19:48:35 +02:00
init.lua Move LZB system to core and unify approach callback mechanism 2019-04-16 09:16:44 +02:00
mod.conf Replace deprecated depends.txt's by mod.conf and organize dependencies consistently, add modpack.conf 2021-03-13 11:13:13 +01:00
route_prog.lua Fix things, rework signal aspect select dialog, transform old aspects on-the-fly 2021-02-10 16:36:24 +01:00
route_ui.lua Rework route ui formspec layout 2021-03-22 11:06:29 +01:00
routesetting.lua Clear tcbs.route_rsn when a route is set 2024-09-02 22:50:22 +02:00
settingtypes.txt Force LZB Halt setting 2019-02-05 11:23:17 +01:00
signal_api.lua Interlocking: Correct duplicate influence points semi-automatically 2021-11-14 17:32:20 +01:00
tcb_ts_ui.lua Remove TCB marker on TCB removal 2024-08-01 21:59:41 +02:00
tool.lua Add Interlocking Tool to inspect route locks 2018-10-26 19:44:16 +02:00
train_sections.lua Improve Signal IP form/workflow 2019-02-16 13:09:33 +01:00
tsr_rail.lua Fix protection of TSR rail 2021-02-19 22:46:21 +01:00