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