From b3e3831db51373c186c1bbbb23b6f869b931215e Mon Sep 17 00:00:00 2001 From: Forrest Keller Date: Sun, 29 Oct 2017 11:03:58 -0500 Subject: [PATCH] Fixed a few bools being reset by the base perk system --- ServerExt/Classes/ExtPerkManager.uc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/ServerExt/Classes/ExtPerkManager.uc b/ServerExt/Classes/ExtPerkManager.uc index ef21411..f02fb54 100644 --- a/ServerExt/Classes/ExtPerkManager.uc +++ b/ServerExt/Classes/ExtPerkManager.uc @@ -773,6 +773,21 @@ simulated function float GetPenetrationModifier( byte Level, class return (Ext_PerkSupport(CurrentPerk)!=None ? Ext_PerkSupport(CurrentPerk).GetPenetrationModifier(Level, DamageType, bForce) : 0.f); } +// Other +function ApplySkillsToPawn() +{ + if( CheckOwnerPawn() ) + { + OwnerPawn.UpdateGroundSpeed(); + OwnerPawn.bMovesFastInZedTime = false; + + if( MyPRI == none ) + MyPRI = KFPlayerReplicationInfo(OwnerPawn.PlayerReplicationInfo); + + ApplyWeightLimits(); + } +} + defaultproperties { bTickIsDisabled=false