Multiple Unit Train Control


Replaces bidirectional trains with ones twice as powerful, to simulate real locomotives driving backwards.

Tweaks
4 days ago
0.17 - 2.0
4.06K
Trains

b [Fixed] Crash when using blueprints holding something

5 years ago
(updated 5 years ago)

Whenever I try to save an existing blueprint and I'm holding a random item (like an iron plate) it crashes the game when I click the 'save blueprint' button in the top right.
No issue if my hand is empty or if I create a new blueprint and use the 'create blueprint' button.
Only mod installed was this one to test it.

Please report this error to the mod author.

Error while running event MultipleUnitTrainControl::on_player_configured_blueprint (ID 70)
Item is not blueprint.
stack traceback:
MultipleUnitTrainControl/control.lua:102: in function 'purgeBlueprint'
MultipleUnitTrainControl/control.lua:399: in function <MultipleUnitTrainControl/control.lua:386>
stack traceback:
[C]: in function 'get_blueprint_entities'
MultipleUnitTrainControl/control.lua:102: in function 'purgeBlueprint'
MultipleUnitTrainControl/control.lua:399: in function <MultipleUnitTrainControl/control.lua:386

5 years ago

Thanks for the report! Fixed in 0.1.8.

New response