Update battleutils.cpp

Missed a ')' in the if statement