aboutsummaryrefslogtreecommitdiff
path: root/advtrains/passive.lua
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2021-02-10 20:55:20 +0100
committerorwell96 <orwell@bleipb.de>2021-02-10 20:55:20 +0100
commit0a9cb548d79b8019762d3629a49afe3d257cda43 (patch)
tree61ce74061dda62a1e62d8fb2088433c9e5e0aa6b /advtrains/passive.lua
parent1e0ae9fcc5a28d84c0686fd55e3552fd24ae2224 (diff)
downloadadvtrains-0a9cb548d79b8019762d3629a49afe3d257cda43.tar.gz
advtrains-0a9cb548d79b8019762d3629a49afe3d257cda43.tar.bz2
advtrains-0a9cb548d79b8019762d3629a49afe3d257cda43.zip
Prevent calling approach callbacks during routesetting
interlocking.set_route() was updating the signal aspect, which caused LZB's invalidate_ahead callback to run, although the route isn't yet fully set. Don't look ahead at this point, but instead in the next train step.
Diffstat (limited to 'advtrains/passive.lua')
0 files changed, 0 insertions, 0 deletions