fix pathfinding
Merge remote-tracking branch 'gus/AIFix2'