Ensure all rides names are cleared on map load

This commit is contained in:
ζeh Matt committed 2023-02-21 23:45:11 +02:00
1 parent b1667d3423
commit 6a5bfa5cad
1 file changed
+1
+1
View File
@@ -937,6 +937,7 @@ void RideInitAll()
std::for_each(std::begin(_rides), std::end(_rides), [](auto& ride) {
ride.id = RideId::GetNull();
ride.type = RIDE_TYPE_NULL;
ride.custom_name = {};
});
_maxRideSize = 0;
}