pathfinding fix so you can only move through allies