Hi, while im playing and trains do their jobs, i have error together exit from game "Error while running event ElectricTrainFix::on_nth_tick(2)"
Can you help?
Error while running event ElectricTrainFix::on_nth_tick(2) ElectricTrainFix/control.lua:174: attempt to index field 'currently_burning' (a nil value)
stack traceback: ElectricTrainFix/control.lua:174: in function <ElectricTrainFix/control.lua:163>
oh, i fix, add line "loc.entity.burner.currently_burning = prototypes.item['et-electric-locomotive-fuel']"
before line "needPower = loc.entity.burner.currently_burning.name.fuel_value - loc.entity.burner.remaining_burning_fuel"