mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 10:17:22 +01:00
Fix missing change from Configuration Service.
This commit is contained in:
parent
6ccbd6d918
commit
37485b4b6a
1 changed files with 2 additions and 3 deletions
|
|
@ -128,13 +128,12 @@ namespace Penumbra.Mods
|
|||
// Assumes that it is not called on Root, and thus does not remove unnecessary SortOrder entries.
|
||||
private static void SaveModChildren( ModFolder target )
|
||||
{
|
||||
var config = Service< Configuration >.Get();
|
||||
foreach( var mod in target.AllMods( true ) )
|
||||
{
|
||||
config.ModSortOrder[ mod.BasePath.Name ] = mod.SortOrder.FullName;
|
||||
Penumbra.Config.ModSortOrder[ mod.BasePath.Name ] = mod.SortOrder.FullName;
|
||||
}
|
||||
|
||||
config.Save();
|
||||
Penumbra.Config.Save();
|
||||
InvokeChange();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue