diff --git a/ServerExt/Classes/ExtPerkManager.uc b/ServerExt/Classes/ExtPerkManager.uc index 4cef230..b2230e1 100644 --- a/ServerExt/Classes/ExtPerkManager.uc +++ b/ServerExt/Classes/ExtPerkManager.uc @@ -897,11 +897,10 @@ simulated function float GetPenetrationModifier(byte Level, class // SwitchSpeed simulated function ModifyWeaponSwitchTime( out float ModifiedSwitchTime ) { - if( CurrentPerk!=None ) - CurrentPerk.ModifyWeaponSwitchTime(ModifiedSwitchTime); + if (CurrentPerk != None) + CurrentPerk.ModifyWeaponSwitchTime(ModifiedSwitchTime); } - // Other function ApplySkillsToPawn() { diff --git a/ServerExt/Classes/Ext_PerkBase.uc b/ServerExt/Classes/Ext_PerkBase.uc index 9b82088..7a5bec9 100644 --- a/ServerExt/Classes/Ext_PerkBase.uc +++ b/ServerExt/Classes/Ext_PerkBase.uc @@ -1472,9 +1472,9 @@ simulated function float GetIronSightSpeedModifier(KFWeapon KFW) return 1.f; } -simulated function ModifyWeaponSwitchTime( out float ModifiedSwitchTime ) +simulated function ModifyWeaponSwitchTime(out float ModifiedSwitchTime) { - ModifiedSwitchTime *= Modifiers[21]; + ModifiedSwitchTime *= Modifiers[21]; } function OnWaveEnded();