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

Removed unnecessary code and updated references.

This commit is contained in:
Rich Dunne 2020-09-14 12:15:34 -06:00
parent 8d52f31ea2
commit 02a603ad15
2 changed files with 8 additions and 17 deletions

View file

@ -149,7 +149,7 @@ namespace SceneManager
Game.DisplayNotification($"~o~Scene Manager\n~g~[Success]~w~ Path {i + 1} complete.");
currentPath.State = State.Finished;
currentPath.IsEnabled = true;
currentPath.SetPathNumber(i + 1);
currentPath.Number = i + 1;
// For each waypoint in the path's WaypointData, start a collector game fiber and loop while the path and waypoint exist, and while the path is enabled
foreach (Waypoint waypoint in PathMainMenu.GetPaths()[i].Waypoints)