1
Fork 0
mirror of https://github.com/thegeneralist01/Scene-Manager-DevRepo synced 2026-01-11 23:50:29 +01:00

Refactored variable/object references to reflect changes in path creation/edit waypoint menus.

This commit is contained in:
Rich Dunne 2020-10-10 15:52:48 -06:00
parent 526ff83f90
commit d36c7fb012
4 changed files with 42 additions and 38 deletions

View file

@ -86,7 +86,7 @@ namespace SceneManager
{
if (i != Waypoints.Count - 1)
{
if (Waypoints[i + 1].DrivingFlag == VehicleDrivingFlags.StopAtDestination)
if (Waypoints[i + 1].IsStopWaypoint)
{
Debug.DrawLine(Waypoints[i].Position, Waypoints[i + 1].Position, Color.Orange);
}
@ -101,7 +101,5 @@ namespace SceneManager
}
});
}
}
}