Do not automatically remove old sort orders.

This commit is contained in:
Ottermandias 2021-08-17 20:56:50 +02:00
parent aa92127772
commit 1a82922281

View file

@ -194,7 +194,7 @@ namespace Penumbra.Mods
return false; return false;
} }
private void SetModStructure() private void SetModStructure(bool removeOldPaths = false )
{ {
var changes = false; var changes = false;
@ -204,7 +204,7 @@ namespace Penumbra.Mods
{ {
changes |= SetSortOrderPath( mod, kvp.Value ); changes |= SetSortOrderPath( mod, kvp.Value );
} }
else else if (removeOldPaths)
{ {
changes = true; changes = true;
Config.ModSortOrder.Remove( kvp.Key ); Config.ModSortOrder.Remove( kvp.Key );