mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 10:17:22 +01:00
Fix conflicts not respecting priority.
This commit is contained in:
parent
225e23ec4f
commit
61acc3861b
1 changed files with 3 additions and 1 deletions
|
|
@ -92,7 +92,9 @@ namespace Penumbra.Mods
|
|||
SwappedFiles.Clear();
|
||||
|
||||
var registeredFiles = new Dictionary< GamePath, Mod.Mod >();
|
||||
foreach( var mod in AvailableMods.Values.Where( m => m.Settings.Enabled ) )
|
||||
foreach( var mod in AvailableMods.Values
|
||||
.Where( m => m.Settings.Enabled )
|
||||
.OrderByDescending( m => m.Settings.Priority ) )
|
||||
{
|
||||
mod.Cache.ClearFileConflicts();
|
||||
AddFiles( registeredFiles, mod );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue