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 // SwitchSpeed
simulated function ModifyWeaponSwitchTime( out float ModifiedSwitchTime ) simulated function ModifyWeaponSwitchTime( out float ModifiedSwitchTime )
{ {
if( CurrentPerk!=None ) if (CurrentPerk != None)
CurrentPerk.ModifyWeaponSwitchTime(ModifiedSwitchTime); CurrentPerk.ModifyWeaponSwitchTime(ModifiedSwitchTime);
} }
// Other // Other
function ApplySkillsToPawn() function ApplySkillsToPawn()
{ {

View File

@ -1472,9 +1472,9 @@ simulated function float GetIronSightSpeedModifier(KFWeapon KFW)
return 1.f; return 1.f;
} }
simulated function ModifyWeaponSwitchTime( out float ModifiedSwitchTime ) simulated function ModifyWeaponSwitchTime(out float ModifiedSwitchTime)
{ {
ModifiedSwitchTime *= Modifiers[21]; ModifiedSwitchTime *= Modifiers[21];
} }
function OnWaveEnded(); function OnWaveEnded();