Skip to content

Commit

Permalink
Added missing common data validation
Browse files Browse the repository at this point in the history
  • Loading branch information
Aragas committed May 28, 2024
1 parent 424007d commit 974a3aa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Bannerlord.ModuleManager/ModuleUtilities.cs
Original file line number Diff line number Diff line change
Expand Up @@ -498,6 +498,10 @@ public static IEnumerable<ModuleIssue> ValidateLoadOrder(IReadOnlyList<ModuleInf
yield break;
}

// Validate common data
foreach (var issue in ValidateModuleCommonData(targetModule))
yield return issue;

// Check that all dependencies are present
foreach (var metadata in targetModule.DependenciesToLoad().DistinctBy(x => x.Id))
{
Expand Down

0 comments on commit 974a3aa

Please sign in to comment.