Skip to content

Commit

Permalink
Use LoadValuesFromIni in ImportConfig
Browse files Browse the repository at this point in the history
Fixes #870
  • Loading branch information
ActualMandM committed Mar 30, 2024
1 parent cb52645 commit 08a5d06
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions HedgeModManager/ModInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,10 @@ public void ImportConfig(ModProfile profile)
return;

if (ConfigSchema.TryLoad(this))
{
ConfigSchema.LoadValuesFromIni(fileName);
ConfigSchema.SaveIni(Path.Combine(RootDirectory, ConfigSchema.IniFile));
}
}

public void FixIncludeDirectories()
Expand Down

0 comments on commit 08a5d06

Please sign in to comment.