Pathfinding now works.