From a91b50e81a50ec774e6f917b244403028ee8e325 Mon Sep 17 00:00:00 2001 From: Anairkoen Schno Date: Sat, 11 Jan 2020 18:47:08 -0600 Subject: [PATCH] Added reset functionality back to DisabledConfig --- IPA.Loader/Loader/DisabledConfig.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/IPA.Loader/Loader/DisabledConfig.cs b/IPA.Loader/Loader/DisabledConfig.cs index eb8a9473..cbbe14e0 100644 --- a/IPA.Loader/Loader/DisabledConfig.cs +++ b/IPA.Loader/Loader/DisabledConfig.cs @@ -23,7 +23,7 @@ namespace IPA.Loader Instance = Disabled.Generated(); } - public virtual bool Reset { get; set; } = true; + public virtual bool Reset { get; set; } = false; [NonNullable] [UseConverter(typeof(CollectionConverter>))] @@ -31,7 +31,7 @@ namespace IPA.Loader protected virtual void OnReload() { - if (DisabledModIds == null) + if (DisabledModIds == null || Reset) DisabledModIds = new HashSet(); } }