This commit is contained in:
speedvoltage 2025-03-29 21:43:58 +01:00 committed by GitHub
commit 931666fa0e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2337,7 +2337,7 @@ void CWeaponPhysCannon::ItemPostFrame()
}
}
if (( pOwner->m_nButtons & IN_ATTACK2 ) == 0 )
if ( ( pOwner->m_nButtons & IN_ATTACK2 ) == 0 && CanPerformSecondaryAttack() )
{
m_nAttack2Debounce = 0;
}