Skip to content

Commit

Permalink
Change enum to FORCELOAD, mark previous as obsolete
Browse files Browse the repository at this point in the history
  • Loading branch information
XDelta committed Oct 25, 2023
1 parent c9d8e06 commit c82d49a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion ResoniteModLoader/ModConfiguration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,8 @@ private bool AnyValuesSet() {
Logger.WarnInternal($"{mod.ResoniteMod.Name} saved config version is {version} which is incompatible with mod's definition version {definition.Version}. Clobbering old config and starting fresh.");
return new ModConfiguration(mod, definition);
case IncompatibleConfigurationHandlingOption.FORCE_LOAD:
// continue processing
break;
case IncompatibleConfigurationHandlingOption.FORCELOAD:
break;
case IncompatibleConfigurationHandlingOption.ERROR: // fall through to default
default:
Expand Down Expand Up @@ -610,5 +611,11 @@ public enum IncompatibleConfigurationHandlingOption {
/// <summary>
/// Ignore the version number and attempt to load the config from disk.
/// </summary>
[Obsolete ("Use IncompatibleConfigurationHandlingOption.FORCELOAD Instead")]
FORCE_LOAD,

/// <summary>
/// Ignore the version number and attempt to load the config from disk.
/// </summary>
FORCELOAD,
}

0 comments on commit c82d49a

Please sign in to comment.