From 0c48a21147421a6931793491af068c525c3a855a Mon Sep 17 00:00:00 2001 From: Forrest Keller Date: Sat, 21 Oct 2017 21:06:31 -0500 Subject: [PATCH] Fixed Survivalist not having any perked weapons --- ServerExt/Classes/Ext_PerkBase.uc | 3 +++ 1 file changed, 3 insertions(+) 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; }