Fixed Survivalist not having any perked weapons
This commit is contained in:
parent
68a6a8e67c
commit
0c48a21147
@ -97,6 +97,9 @@ replication
|
|||||||
|
|
||||||
simulated final function bool IsWeaponOnPerk( KFWeapon W )
|
simulated final function bool IsWeaponOnPerk( KFWeapon W )
|
||||||
{
|
{
|
||||||
|
if( class<KFPerk_Survivalist>(BasePerk) != None )
|
||||||
|
return true;
|
||||||
|
|
||||||
return W!=None && W.GetWeaponPerkClass(BasePerk)==BasePerk;
|
return W!=None && W.GetWeaponPerkClass(BasePerk)==BasePerk;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user