King doesn't target locations of own colour

When the king is selected, locations with pieces of the same colour are no longer targeted.