Got this error when using with Automatic Train Fuel Stop(https://mods.factorio.com/mod/FuelTrainStop)
Error while running event ElectricTrain::on_init()
Error when running interface function FuelTrainStop.exclude_from_fuel_schedule: FuelTrainStop/control.lua:107: bad argument #1 to 'pairs' (table expected, got nil)
stack traceback:
[C]: in function 'pairs'
FuelTrainStop/control.lua:107: in function 'CheckTrainList'
FuelTrainStop/control.lua:102: in function 'AddTrainIgnore'
FuelTrainStop/control.lua:4: in function <FuelTrainStop/control.lua:4>
stack traceback:
ElectricTrain/control.lua:9: in function 'CallRemoteInterface'
ElectricTrain/control.lua:20: in function <ElectricTrain/control.lua:15>
stack traceback:
[C]: in function 'call'
ElectricTrain/control.lua:9: in function 'CallRemoteInterface'
ElectricTrain/control.lua:20: in function <ElectricTrain/control.lua:15>