Page 1 of 1

[Rseding91] [2.0.44] Trains set_records doesn't respect created_by_interrupt

Posted: Tue Apr 08, 2025 8:45 am
by BurninSun
Place locomotive and hop in.

Code: Select all

/c game.player.physical_vehicle.train.get_schedule().set_records({{ station="", created_by_interrupt=true}})

Code: Select all

/c game.print(serpent.block(game.player.physical_vehicle.train.get_schedule().get_records()))
Note the output has created_by_interrupt = false even though set_records had it set to true.

Specifically this breaks copying train schedules via

Code: Select all

train1.get_schedule().set_records(train2.get_schedule().get_records())

Re: [Rseding91] [2.0.44] Trains set_records doesn't respect created_by_interrupt

Posted: Tue Apr 08, 2025 2:16 pm
by Rseding91
Thanks for the report. This is now fixed for the next release.