Put the if ammo and then ammo lines together.