Adds a new train station (Dispatcher) that dispatches waiting trains to a station when a dispatch virtual signal is received (target station ID is provided via the signal).
Error while running event Dispatcher::on_train_changed_state (ID 23) Dispatcher/control.lua:77: attempt to index field 'station' (a nil value)
stack traceback: Dispatcher/control.lua:77: in function <Dispatcher/control.lua:56>
I was at the beginning of the game. Just built the first railway without stations. Created a train L-W-W-W-W-L. Added your mod. Caused the train to yourself (Ctrl+Lmouse on the map in the menu of the locomotive). When the train stopped this error occurred.
Sorry, if there are errors in the text, I translate through Google Translate.