diff --git a/distribution/changelog.txt b/distribution/changelog.txt index f4baf05c01..60f80fa338 100644 --- a/distribution/changelog.txt +++ b/distribution/changelog.txt @@ -4,6 +4,7 @@ - Improved: [#25529] The map selection grid no longer redraws every frame if it has not changed. - Improved: [#25530] Wall dragging can now be cancelled without closing the Scenery window. - Improved: [#25575] Updated the network protocol to a new format that supports larger packets, allowing clients to connect reliably to servers with many objects or large maps. +- Improved: [#25625] Renewing and refurbishing rides now also resets the downtime. - Change: [#25485] Make the enlarged pressed swatch sprite more pronounced. - Fix: [#9895] Stand-up coaster gets wrong intensity boost from the synchronisation bonus. - Fix: [#22484] Lingering ghost entrance after placing park entrance. diff --git a/src/openrct2/ride/Ride.cpp b/src/openrct2/ride/Ride.cpp index 0063e017d1..e4a200fa1e 100644 --- a/src/openrct2/ride/Ride.cpp +++ b/src/openrct2/ride/Ride.cpp @@ -5386,6 +5386,8 @@ void Ride::renew() // Set build date to current date (so the ride is brand new) buildDate = GetDate().GetMonthsElapsed(); reliability = kRideInitialReliability; + std::fill(std::begin(downtimeHistory), std::end(downtimeHistory), 0); + downtime = 0; } RideClassification Ride::getClassification() const