Browse Source

Added reset functionality back to DisabledConfig

pull/46/head
Anairkoen Schno 5 years ago
parent
commit
799d351bed
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