mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-16 03:23:15 +01:00
Fix mechanics not being called to broken down rides
This commit is contained in:
@@ -2158,6 +2158,7 @@ static void vehicle_update_departing(rct_vehicle* vehicle) {
|
||||
RIDE_INVALIDATE_RIDE_MAIN |
|
||||
RIDE_INVALIDATE_RIDE_LIST |
|
||||
RIDE_INVALIDATE_RIDE_MAINTENANCE;
|
||||
ride->mechanic_status = RIDE_MECHANIC_STATUS_CALLING;
|
||||
ride->inspection_station = vehicle->current_station;
|
||||
ride->breakdown_reason = ride->breakdown_reason_pending;
|
||||
vehicle->velocity = 0;
|
||||
|
||||
Reference in New Issue
Block a user