mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 10:17:22 +01:00
Skip non-existing directories when migrating sort order.
This commit is contained in:
parent
60cf7e3c2e
commit
2e1a11d16c
2 changed files with 2 additions and 2 deletions
2
OtterGui
2
OtterGui
|
|
@ -1 +1 @@
|
||||||
Subproject commit a9443d8cd2b7446702d0bd6beea2a1b0ef747654
|
Subproject commit 79a1ad44fd718a0deb66c9f38cdb8d9eb41520b8
|
||||||
|
|
@ -111,7 +111,7 @@ public partial class Configuration
|
||||||
j.WriteStartObject();
|
j.WriteStartObject();
|
||||||
j.WritePropertyName( "Data" );
|
j.WritePropertyName( "Data" );
|
||||||
j.WriteStartObject();
|
j.WriteStartObject();
|
||||||
foreach( var (mod, path) in ModSortOrder )
|
foreach( var (mod, path) in ModSortOrder.Where( kvp => Directory.Exists( Path.Combine( _config.ModDirectory, kvp.Key ) ) ) )
|
||||||
{
|
{
|
||||||
j.WritePropertyName( mod, true );
|
j.WritePropertyName( mod, true );
|
||||||
j.WriteValue( path );
|
j.WriteValue( path );
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue