diff options
author | Y. Wang <y5nw@protonmail.com> | 2024-08-30 21:57:19 +0000 |
---|---|---|
committer | orwell <orwell@bleipb.de> | 2024-09-02 22:50:22 +0200 |
commit | dd883c5b5ec29e11a78d215d8627f71840051eac (patch) | |
tree | b2a9dfa556ab65a75e5384e3c4649c89df3be62b /assets/blender/ks/advtrains_signals_ks_main_smr30.mtl | |
parent | fcfe21f1976aee7b8db64f1f8ef4aaf5f78a1c06 (diff) | |
download | advtrains-dd883c5b5ec29e11a78d215d8627f71840051eac.tar.gz advtrains-dd883c5b5ec29e11a78d215d8627f71840051eac.tar.bz2 advtrains-dd883c5b5ec29e11a78d215d8627f71840051eac.zip |
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.
Diffstat (limited to 'assets/blender/ks/advtrains_signals_ks_main_smr30.mtl')
0 files changed, 0 insertions, 0 deletions