[0.15.1][posila]on_train_created missing the train field
Posted: Tue Apr 25, 2017 3:27 pm
The new on_train_created event is missing the train field, instead it contains a player_port, which seems to be the train (it has carraiges field).
To reproduce:
In console:
Results in:

To reproduce:
In console:
Code: Select all
/c script.on_event(defines.events.on_train_created, function(event)game.print(serpent.dump(event)) end)
