trader & HRG93R fix
This commit is contained in:
parent
cf4542ae8a
commit
6166612727
@ -32,6 +32,8 @@ function PerkChanged(byte NewPerkIndex, bool bClickedIndex)
|
||||
}
|
||||
}
|
||||
|
||||
PreviewPerkIndex = NewPerkIndex;
|
||||
|
||||
UpdateContainers(MSKGSPC.PerkList[NewPerkIndex].PerkClass, bClickedIndex);
|
||||
}
|
||||
|
||||
|
@ -10,6 +10,17 @@ function bool IsItemFiltered(STraderItem Item, optional bool bDebug)
|
||||
return true;
|
||||
if (Item.WeaponDef.default.PlatformRestriction != PR_All && class'KFUnlockManager'.static.IsPlatformRestricted(Item.WeaponDef.default.PlatformRestriction))
|
||||
return true;
|
||||
|
||||
if (Has9mmGun())
|
||||
{
|
||||
if ((Item.ClassName == 'KFWeap_HRG_93r' || Item.ClassName == 'KFWeap_HRG_93r_Dual'))
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
if ((Item.ClassName == 'KFWeap_Pistol_9mm' || Item.ClassName == 'KFWeap_Pistol_Dual9mm'))
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user