Do not update ride measurements when simulating

This commit is contained in:
Ted John 2019-05-28 22:37:54 +01:00
parent 8d5e083998
commit efac635cfa
1 changed files with 1 additions and 1 deletions

View File

@ -3152,7 +3152,7 @@ void ride_measurements_update()
continue;
Ride* ride = get_ride(measurement->ride_index);
if (!(ride->lifecycle_flags & RIDE_LIFECYCLE_ON_TRACK))
if (!(ride->lifecycle_flags & RIDE_LIFECYCLE_ON_TRACK) || ride->status == RIDE_STATUS_SIMULATING)
continue;
if (measurement->flags & RIDE_MEASUREMENT_FLAG_RUNNING)