I am using this with train scaling mod and once it built the train I got
The mod Some Train Stations Are Optional (1.0.1) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event SomeTrainStationsAreOptional::on_train_changed_state (ID 31)
__SomeTrainStationsAreOptional__/control.lua:18: attempt to index field 'schedule' (a nil value)
stack traceback:
__SomeTrainStationsAreOptional__/control.lua:18: in function <__SomeTrainStationsAreOptional__/control.lua:16>
From google search it is due to a timing issue I believe