diff --git a/Assets/Scripts/PatrollingAlgorithms/PatrollingAlgorithm.cs b/Assets/Scripts/PatrollingAlgorithms/PatrollingAlgorithm.cs index 08543f54..572eac02 100644 --- a/Assets/Scripts/PatrollingAlgorithms/PatrollingAlgorithm.cs +++ b/Assets/Scripts/PatrollingAlgorithms/PatrollingAlgorithm.cs @@ -198,7 +198,7 @@ private void PathAndMoveToTarget() } } - private Vertex GetClosestVertex() + protected Vertex GetClosestVertex() { var position = _controller.GetSlamMap().GetCoarseMap().GetCurrentPosition(dependOnBrokenBehavior: false); var closestVertex = _vertices[0];