1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-06 06:32:56 +01:00

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

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)