diff --git a/SilentPatchSA/VehicleSA.cpp b/SilentPatchSA/VehicleSA.cpp index dfe2ab8..1cc8ed8 100644 --- a/SilentPatchSA/VehicleSA.cpp +++ b/SilentPatchSA/VehicleSA.cpp @@ -120,7 +120,7 @@ namespace SVF { if ( feature == Feature::NO_FEATURE ) return; for ( auto it = specialVehFeatures.begin(); it != specialVehFeatures.end(); ) { - if ( std::get(it->second) <= highestStockCookie ) + if ( std::get(it->second) == feature && std::get(it->second) <= highestStockCookie ) { it = specialVehFeatures.erase( it ); }