Code style

This commit is contained in:
GenZmeY 2021-08-24 03:18:38 +03:00
parent d750a2a6d0
commit d7064608c2
2 changed files with 4 additions and 5 deletions

View File

@ -897,11 +897,10 @@ simulated function float GetPenetrationModifier(byte Level, class<KFDamageType>
// SwitchSpeed
simulated function ModifyWeaponSwitchTime( out float ModifiedSwitchTime )
{
if( CurrentPerk!=None )
CurrentPerk.ModifyWeaponSwitchTime(ModifiedSwitchTime);
if (CurrentPerk != None)
CurrentPerk.ModifyWeaponSwitchTime(ModifiedSwitchTime);
}
// Other
function ApplySkillsToPawn()
{

View File

@ -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();