Browse Source

Added reset functionality back to DisabledConfig

4.0.0-beta
Anairkoen Schno 4 years ago
parent
commit
a91b50e81a
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      IPA.Loader/Loader/DisabledConfig.cs

+ 2
- 2
IPA.Loader/Loader/DisabledConfig.cs View File

@ -23,7 +23,7 @@ namespace IPA.Loader
Instance = Disabled.Generated<DisabledConfig>();
}
public virtual bool Reset { get; set; } = true;
public virtual bool Reset { get; set; } = false;
[NonNullable]
[UseConverter(typeof(CollectionConverter<string, HashSet<string>>))]
@ -31,7 +31,7 @@ namespace IPA.Loader
protected virtual void OnReload()
{
if (DisabledModIds == null)
if (DisabledModIds == null || Reset)
DisabledModIds = new HashSet<string>();
}
}


Loading…
Cancel
Save