You'd have to error out at that point. In this place I'd prefer what I wrote above though. It's the consideration between having a round with some weird buggy corner case (say, global.blueCaps == NaN) attributed as draw, and everyone crashing. Note that you should never be able to get NaN in GM because it considers that value an error (FP exception).