Add missing '&' in announce logic

The short circuit and is better in this case so you don't need to evaluate both expressions. If announce == false, it no longer needs to check if percent % 10 == 0.