diff --git a/SceneManager/Menus/PathCreationMenu.cs b/SceneManager/Menus/PathCreationMenu.cs index 56553ad..efea706 100644 --- a/SceneManager/Menus/PathCreationMenu.cs +++ b/SceneManager/Menus/PathCreationMenu.cs @@ -1,12 +1,11 @@ -using System; -using System.Collections.Generic; +using System.Collections.Generic; using System.Drawing; using System.Linq; -using System.Net.Configuration; -using System.Windows.Forms; using Rage; using RAGENativeUI; using RAGENativeUI.Elements; +using SceneManager.Utils; +using SceneManager.Objects; namespace SceneManager { @@ -313,19 +312,6 @@ namespace SceneManager private static void PathCreation_OnMenuOpen(UIMenu menu) { var scrollerItems = new List { collectorRadius, speedZoneRadius, waypointSpeed }; - var checkboxItems = new Dictionary() - { - { collectorWaypoint, UpdateCollectorMenuOptionsStatus}, - { stopWaypointType, null}, - { directWaypointBehavior, null} - }; - var selectItems = new Dictionary() - { - { trafficAddWaypoint, AddNewWaypoint }, - { trafficRemoveWaypoint, RemoveWaypoint }, - { trafficEndPath, EndPath } - }; - RNUIMouseInputHandler.Initialize(menu, scrollerItems); } }