We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 416f3a0 commit a0f0211Copy full SHA for a0f0211
src/rails_lib/backend/backend_low.ml
@@ -57,10 +57,7 @@ module Train_update = struct
57
let _train_station_handle_consist_and_maintenance (v:t) idx loc (station:Station.t) (train:rw Train.t) =
58
(* returns train, income, ui_msgs *)
59
let handle_stop station_info =
60
- let had_maintenance =
61
- if Station.can_maintain station then true
62
- else train.had_maintenance
63
- in
+ let had_maintenance = Station.can_maintain station || train.had_maintenance in
64
(* TODO: deal with priority shipment *)
65
(* TODO: deal with dist_shipped_cargo *)
66
let _dist_shipped_cargo =
0 commit comments