diff --git a/src/openrct2-ui/windows/RideList.cpp b/src/openrct2-ui/windows/RideList.cpp index 69c8155425..a8b79a2c8d 100644 --- a/src/openrct2-ui/windows/RideList.cpp +++ b/src/openrct2-ui/windows/RideList.cpp @@ -818,7 +818,7 @@ namespace OpenRCT2::Ui::Windows const Ride* rideRhs = GetRide(rhs.Id); if (rideLhs == nullptr || rideRhs == nullptr) { - return false; + return rideLhs != nullptr; } return !pred(*rideLhs, *rideRhs); });