Train Scaling


Automate the construction and deconstruction of your trains! Configure a train currently scheduled for a station as a template for the station - the mod's special train construction station will automatically build (or destroy) copies of the template train on demand, or in response to circuit conditions.

Content
2 years ago
0.16 - 1.1
5.01K
Trains

g Crash when a fluid wagon train creation times out

5 years ago

When a fluid train is being created and it times out it will crash. This only happens if a fluid train is being scaled and the fluid wagon is already on the rails.

0.17.26 with train scaling 0.10.2.
No other mods.
Mini savegame that will crash after a few seconds.
https://drive.google.com/open?id=1Y6bw53igffdk3IiXshGMjT-3G7Fcftqp

Error while running event train-scaling::on_nth_tick(5)
train-scaling/control.lua:673: attempt to index local 'fuel_inventory' (a nil value)
stack traceback:
train-scaling/control.lua:673: in function 'abort_remove_carriage'
train-scaling/control.lua:732: in function 'abort_build'
train-scaling/control.lua:851: in function <train-scaling/control.lua:775>

5 years ago

Should be fixed in 0.17.3, thanks a bunch for the example save!

New response