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

Removed GetPaths() method from PathMainMenu and updated references to paths list.

This commit is contained in:
Rich Dunne 2020-09-15 13:49:10 -06:00
parent 3c636c1564
commit 2241e107de
6 changed files with 42 additions and 41 deletions

View file

@ -51,7 +51,7 @@ namespace SceneManager
{
if (mapBlips.Checked)
{
foreach(Path path in PathMainMenu.GetPaths())
foreach(Path path in PathMainMenu.paths)
{
foreach(Waypoint wp in path.Waypoints)
{
@ -61,7 +61,7 @@ namespace SceneManager
}
else
{
foreach (Path path in PathMainMenu.GetPaths())
foreach (Path path in PathMainMenu.paths)
{
foreach (Waypoint wp in path.Waypoints)
{