Red dot assigned to AK
This commit is contained in:
@@ -394,7 +394,7 @@ namespace HQFPSWeapons
|
||||
bool airborneCondition = Player.IsGrounded.Get() || item.UseWhileAirborne;
|
||||
|
||||
bool canTryToAttack =
|
||||
airborneCondition &&
|
||||
// airborneCondition &&
|
||||
(item.StaminaTakePerUse == 0f || Player.Stamina.Get() > item.StaminaTakePerUse);
|
||||
|
||||
if (!item.CanStopReloading && Player.Reload.Active)
|
||||
|
||||
@@ -58,8 +58,9 @@ namespace HQFPSWeapons
|
||||
|
||||
RaycastHit hitInfo;
|
||||
|
||||
if (CheckGround(out hitInfo))
|
||||
if (CheckGround(out hitInfo)){
|
||||
SurfaceManager.SpawnEffect(hitInfo, footstepEffect, volumeFactor);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user