mirror of
https://github.com/CookiePLMonster/SilentPatch.git
synced 2024-11-22 13:32:36 +01:00
Merge branch 'master' into dev
This commit is contained in:
commit
f9a9404fd0
@ -126,7 +126,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 New Issue
Block a user