Last revision: 18 Jun at 07:08 UTC
Mod to avoid train collisions on single tracks 2 ways from BloodyPenguin mod One-Way Train Tracks.
It is simple. Before entering on a single track section, a train will check if there is already another train running the track. If that’s the case, the train will stop until the track is free.
When using long stretches of single track, be sure to lay down some double tracks section regularly so that train can intersect (they are called passing loops). If there are many trains, jams might still occur. Also place a 2 tracks section before a terminus station, so that trains can properly enter/exit the station.
Link to the GitHub repository. This mod uses detour and would be incompatible with any mod modifying the method CheckNextLane of class TrainAI (if there is any such a mod!).