Game version: 1.15.10
OS: Linux
Steps to reproduce:
- (edit: map file and save file are not attached, so it's easier to just load those instead of rebuilding this from scratch)
- use the editor to create a map with two stations connected with two tracks, and each station connected to a coach yard
- add four contract templates:
- 100 URBAN 100 LPPP X0 : a#0#08:00:00#1 b#0#08:10:00#1
- 101 URBAN 100 LPPP X0 : b#0#08:00:00#1 a#0#08:10:00#1
- 200 URBAN 100 LPPP X0 : a#0#08:15:00#1 b#0#08:25:00#1
- 201 URBAN 100 LPPP X0 : b#0#08:15:00#1 a#0#08:25:00#1
- save the map and start playing it
- while playing, open the contracts and cancel one of the contracts
Wrong behavior:
- the train for the cancelled contract will be deleted, even though it was still needed for the other contract!
- when the time for the next train departure arrives, it will ding at you to dispatch a train from the coach yard, but none of the coach yards have a train of the necessary type, so you can't dispatch one
Expected behavior:
- since the train is still needed for another contract, it shouldn't be deleted when the first contract is cancelled
edit: added save/screenshot