To reproduce in the save below:
1. Set the train to auto
2. Run this script when it has passed the hazard concrete while on the path to the south stop
Code: Select all
/c local train = game.player.force.get_trains(1)[1]
local schedule = table.deepcopy(train.schedule)
schedule.current = 1
train.schedule = schedule