diff --git a/SilentPatchSA/VehicleSA.cpp b/SilentPatchSA/VehicleSA.cpp index f996562..461ad5c 100644 --- a/SilentPatchSA/VehicleSA.cpp +++ b/SilentPatchSA/VehicleSA.cpp @@ -126,7 +126,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 ); }