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