diff --git a/Dalamud/Configuration/Internal/EnvironmentConfiguration.cs b/Dalamud/Configuration/Internal/EnvironmentConfiguration.cs index e7cc3b189..01ca64bdd 100644 --- a/Dalamud/Configuration/Internal/EnvironmentConfiguration.cs +++ b/Dalamud/Configuration/Internal/EnvironmentConfiguration.cs @@ -35,7 +35,7 @@ namespace Dalamud.Configuration.Internal /// /// Gets a value indicating whether or not Dalamud context menus should be disabled. /// - public static bool DalamudNoContextMenu { get; } = GetEnvironmentVariable("DALAMUD_NO_CONTEXTMENU"); + public static bool DalamudDoContextMenu { get; } = GetEnvironmentVariable("DALAMUD_ENABLE_CONTEXTMENU"); private static bool GetEnvironmentVariable(string name) => bool.Parse(Environment.GetEnvironmentVariable(name) ?? "false"); diff --git a/Dalamud/Game/Gui/GameGui.cs b/Dalamud/Game/Gui/GameGui.cs index 7891738c0..3e3f7c5f3 100644 --- a/Dalamud/Game/Gui/GameGui.cs +++ b/Dalamud/Game/Gui/GameGui.cs @@ -428,7 +428,7 @@ namespace Dalamud.Game.Gui Service.Get().Enable(); Service.Get().Enable(); - if (!EnvironmentConfiguration.DalamudNoContextMenu) + if (EnvironmentConfiguration.DalamudDoContextMenu) Service.Get().Enable(); this.setGlobalBgmHook.Enable();