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

Updated menu references based on MenuManager refactor

This commit is contained in:
Rich Dunne 2020-08-20 18:57:20 -06:00
parent 2e65da4746
commit fe72d5daf8
10 changed files with 281 additions and 175 deletions

View file

@ -79,9 +79,9 @@ namespace SceneManager
private static void MyTerminationHandler(object sender, EventArgs e)
{
// Clean up paths
for (int i = 0; i < TrafficMenu.paths.Count; i++)
for (int i = 0; i < PathMainMenu.GetPaths().Count; i++)
{
TrafficMenu.DeletePath(TrafficMenu.paths[i], i, "All");
PathMainMenu.DeletePath(PathMainMenu.GetPaths()[i], i, PathMainMenu.Delete.All);
}
// Clean up cones