Fixed an error caused by Patrick (grr)

And yes, there is already a distance check earlier in the code, so this
does not need to be repeated for the center of the foes.