From 248c2ad30fdf3ef8cb46c8031913566fb24d2577 Mon Sep 17 00:00:00 2001 From: Rich Dunne Date: Fri, 7 May 2021 04:06:08 -0600 Subject: [PATCH] Updated menu item description --- SceneManager/Menus/SettingsMenu.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/SceneManager/Menus/SettingsMenu.cs b/SceneManager/Menus/SettingsMenu.cs index 3340514..b205f22 100644 --- a/SceneManager/Menus/SettingsMenu.cs +++ b/SceneManager/Menus/SettingsMenu.cs @@ -4,6 +4,7 @@ using RAGENativeUI.Elements; using System; using System.Collections.Generic; using SceneManager.Utils; +using SceneManager.Managers; namespace SceneManager.Menus { @@ -15,12 +16,12 @@ namespace SceneManager.Menus internal static UIMenuCheckboxItem Hints { get; } = new UIMenuCheckboxItem("Enable Hints", Settings.EnableHints); private static SpeedUnits[] SpeedUnitsArray { get; } = { Utils.SpeedUnits.MPH, Utils.SpeedUnits.KPH }; internal static UIMenuListScrollerItem SpeedUnits { get; } = new UIMenuListScrollerItem("Speed Unit of Measure", "", new[] { Utils.SpeedUnits.MPH, Utils.SpeedUnits.KPH }); - internal static UIMenuItem SaveSettings { get; } = new UIMenuItem("Save settings to .ini", "Updates the plugin's .ini file with the current settings so the next time the plugin is loaded, it will use these settings."); + internal static UIMenuItem SaveSettings { get; } = new UIMenuItem("Save settings to .ini", "Updates the plugin's .ini file with the current settings. The next time the plugin is loaded, it will use these settings."); internal static void Initialize() { Menu.ParentMenu = MainMenu.Menu; - MenuManager.AddToMenuPool(Menu); + MenuManager.MenuPool.Add(Menu); Menu.OnCheckboxChange += SettingsMenu_OnCheckboxChange; Menu.OnItemSelect += SettingsMenu_OnItemSelected;