Pathfinding now works, kind of.