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:
parent
2e65da4746
commit
fe72d5daf8
10 changed files with 281 additions and 175 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue