mirror of
https://github.com/CookiePLMonster/SilentPatch.git
synced 2024-12-29 15:23:02 +05:00
Merge branch 'master' into dev
This commit is contained in:
commit
f9a9404fd0
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue