Skip to content

Commit

Permalink
Pass installed mods with changeset when skipping
Browse files Browse the repository at this point in the history
  • Loading branch information
HebaruSan committed Oct 18, 2024
1 parent c24e3da commit 8f384bf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion GUI/Main/MainInstall.cs
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,10 @@ private void InstallMods(object? sender, DoWorkEventArgs? e)
// and any mods depending on them
var dependers = Registry.FindReverseDependencies(
skip.Select(s => s.identifier).ToList(),
fullChangeset, fullChangeset,
null,
registry.InstalledModules.Select(im => im.Module)
.Concat(fullChangeset)
.ToArray(),
registry.InstalledDlls, registry.InstalledDlc,
// Consider virtual dependencies satisfied so user can make a new choice if they skip
rel => rel.LatestAvailableWithProvides(registry, crit).Count > 1)
Expand Down

0 comments on commit 8f384bf

Please sign in to comment.