From d7064608c2383d8654a38b6c4abb3a992cfa65ee Mon Sep 17 00:00:00 2001 From: GenZmeY Date: Tue, 24 Aug 2021 03:18:38 +0300 Subject: [PATCH] Code style --- ServerExt/Classes/ExtPerkManager.uc | 5 ++--- ServerExt/Classes/Ext_PerkBase.uc | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) 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();