diff --git a/ServerExt/Classes/Ext_PerkBase.uc b/ServerExt/Classes/Ext_PerkBase.uc index ebe1f3a..c59742d 100644 --- a/ServerExt/Classes/Ext_PerkBase.uc +++ b/ServerExt/Classes/Ext_PerkBase.uc @@ -97,6 +97,9 @@ replication simulated final function bool IsWeaponOnPerk( KFWeapon W ) { + if( class(BasePerk) != None ) + return true; + return W!=None && W.GetWeaponPerkClass(BasePerk)==BasePerk; }