Error while running event simple_train_fuel_stop::on_tick (ID 0)
simple_train_fuel_stop/script/trains.lua:53: bad argument #1 of 3 to 'find' (string expected, got nil)
stack traceback:
[C]: in function 'find'
simple_train_fuel_stop/script/trains.lua:53: in function 'CheckTrainScheduleRecords'
simple_train_fuel_stop/script/trains.lua:76: in function 'AddToShedule'
simple_train_fuel_stop/script/trains.lua:94: in function 'CheckTrains'
simple_train_fuel_stop/script/trains.lua:101: in function 'func'
simple_train_fuel_stop/control.lua:36: in function <simple_train_fuel_stop/control.lua:34>
edit: happened also without this condition:
Error while running event simple_train_fuel_stop::on_tick (ID 0)
simple_train_fuel_stop/script/trains.lua:53: bad argument #1 of 3 to 'find' (string expected, got nil)
stack traceback:
[C]: in function 'find'
simple_train_fuel_stop/script/trains.lua:53: in function 'CheckTrainScheduleRecords'
simple_train_fuel_stop/script/trains.lua:76: in function 'AddToShedule'
simple_train_fuel_stop/script/trains.lua:94: in function 'CheckTrains'
simple_train_fuel_stop/script/trains.lua:101: in function 'func'
simple_train_fuel_stop/control.lua:36: in function <simple_train_fuel_stop/control.lua:34>