diff --git a/Dalamud/EntryPoint.cs b/Dalamud/EntryPoint.cs index 78258c580..445d4bcac 100644 --- a/Dalamud/EntryPoint.cs +++ b/Dalamud/EntryPoint.cs @@ -212,7 +212,9 @@ namespace Dalamud if (result == (int)User32.MessageBoxResult.IDYES) { Log.Information("User chose to disable plugins on next launch..."); - // TODO When services are in + var config = Service.Get(); + config.PluginSafeMode = true; + config.Save(); } Environment.Exit(-1); diff --git a/Dalamud/Interface/Internal/Scratchpad/ScratchExecutionManager.cs b/Dalamud/Interface/Internal/Scratchpad/ScratchExecutionManager.cs index cb3133951..04aa17a48 100644 --- a/Dalamud/Interface/Internal/Scratchpad/ScratchExecutionManager.cs +++ b/Dalamud/Interface/Internal/Scratchpad/ScratchExecutionManager.cs @@ -1,7 +1,7 @@ using System; using System.Collections.Generic; using System.Linq; -using Dalamud.IoC; + using Dalamud.IoC.Internal; using Dalamud.Plugin; using ImGuiNET;