Fixing being able to hear with earmuffs on.

I hope I didn't make any mistake, this should prevent ear_deaf from flickering between 0 and 1 while wearing earmuffs.
missed a parenthesis
Only checking for earmuffs once.
Merge pull request #3177 from phil235/earmuffsfix

Fixing being able to hear with earmuffs on.