From ec7fed03a43990968a7158d246ae74b5cec35b16 Mon Sep 17 00:00:00 2001 From: Vespura <31419184+TomGrobbe@users.noreply.github.com> Date: Thu, 9 Aug 2018 21:07:01 +0200 Subject: [PATCH] Changed order of voice chat menu and misc settings --- vMenu/MainMenu.cs | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/vMenu/MainMenu.cs b/vMenu/MainMenu.cs index 742dc5b6..48efd9d5 100644 --- a/vMenu/MainMenu.cs +++ b/vMenu/MainMenu.cs @@ -678,6 +678,16 @@ private void CreateSubmenus() AddMenu(menu, button); } + // Add Voice Chat Menu. + if (Cf.IsAllowed(Permission.VCMenu)) + { + VoiceChatSettingsMenu = new VoiceChat(); + UIMenu menu = VoiceChatSettingsMenu.GetMenu(); + UIMenuItem button = new UIMenuItem("Voice Chat Settings", "Change Voice Chat options here."); + button.SetRightLabel("→→→"); + AddMenu(menu, button); + } + // Add misc settings menu. //if (Cf.IsAllowed(Permission.MSMenu)) // removed the permissions check, because the misc menu should've never been restricted in the first place. @@ -691,15 +701,7 @@ private void CreateSubmenus() AddMenu(menu, button); } - // Add Voice Chat Menu. - if (Cf.IsAllowed(Permission.VCMenu)) - { - VoiceChatSettingsMenu = new VoiceChat(); - UIMenu menu = VoiceChatSettingsMenu.GetMenu(); - UIMenuItem button = new UIMenuItem("Voice Chat Settings", "Change Voice Chat options here."); - button.SetRightLabel("→→→"); - AddMenu(menu, button); - } + // Add About Menu. AboutMenu = new About();