Skip to content

Commit

Permalink
Merge #4261 Exclude dependencies in the changeset from supported by list
Browse files Browse the repository at this point in the history
  • Loading branch information
HebaruSan committed Nov 21, 2024
2 parents 46ae1e0 + c2fe4cb commit b3ecbda
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ All notable changes to this project will be documented in this file.
- [Core] Fix reporting of wrong download as failed (#4236 by: HebaruSan)
- [Core] Exclude DLLs being upgraded to full modules (#4250 by: HebaruSan)
- [Core] Ignore manually installed duplicates of installed modules (#4257 by: HebaruSan)
- [Core] Exclude dependencies in the changeset from supported by list (#4261 by: HebaruSan)

### Internal

Expand Down
4 changes: 2 additions & 2 deletions Core/ModuleInstaller.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1623,8 +1623,8 @@ public static bool FindRecommendations(GameInstance

var opts = RelationshipResolverOptions.DependsOnlyOpts();
supporters = resolver.Supporters(recommenders,
toInstall.Concat(recommendations.Keys)
.Concat(suggestions.Keys))
recommenders.Concat(recommendations.Keys)
.Concat(suggestions.Keys))
.Where(kvp => CanInstall(toInstall.Append(kvp.Key).ToList(),
opts, registry, instance.game, crit))
.ToDictionary();
Expand Down

0 comments on commit b3ecbda

Please sign in to comment.