made tanks fire only when near the player