[Rseding91] [2.0.44] Trains set_records doesn't respect created_by_interrupt
Posted: Tue Apr 08, 2025 8:45 am
Place locomotive and hop in.
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
/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()))
Specifically this breaks copying train schedules via
Code: Select all
train1.get_schedule().set_records(train2.get_schedule().get_records())