Closed regaw-leinad closed 10 years ago
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.
Fixed, thanks.
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.