mirror of
https://github.com/CookiePLMonster/SilentPatch.git
synced 2024-12-29 15:23:02 +05:00
Fix DisableStockVehiclesForFeature
This commit is contained in:
parent
623464d45e
commit
cdad030ae1
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ namespace SVF {
|
|||
if ( feature == Feature::NO_FEATURE ) return;
|
||||
for ( auto it = specialVehFeatures.begin(); it != specialVehFeatures.end(); )
|
||||
{
|
||||
if ( std::get<int32_t>(it->second) <= highestStockCookie )
|
||||
if ( std::get<Feature>(it->second) == feature && std::get<int32_t>(it->second) <= highestStockCookie )
|
||||
{
|
||||
it = specialVehFeatures.erase( it );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue