From ea401b47ec1c5dd5bed3201eff183aadd6c26843 Mon Sep 17 00:00:00 2001 From: Vitalii Mikhailov Date: Tue, 28 May 2024 23:15:56 +0300 Subject: [PATCH] Fix --- src/Bannerlord.ModuleManager/ModuleUtilities.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Bannerlord.ModuleManager/ModuleUtilities.cs b/src/Bannerlord.ModuleManager/ModuleUtilities.cs index 10ddcbe..5de9c83 100644 --- a/src/Bannerlord.ModuleManager/ModuleUtilities.cs +++ b/src/Bannerlord.ModuleManager/ModuleUtilities.cs @@ -474,6 +474,10 @@ public static IEnumerable ValidateModuleDependencies(IReadOnlyList< /// Any error that were detected during inspection public static IEnumerable ValidateLoadOrder(IReadOnlyList modules, ModuleInfoExtended targetModule) { + // Validate common data + foreach (var issue in ValidateModuleCommonData(targetModule)) + yield return issue; + var visited = new HashSet(); foreach (var issue in ValidateLoadOrder(modules, targetModule, visited)) yield return issue; @@ -498,10 +502,6 @@ public static IEnumerable ValidateLoadOrder(IReadOnlyList x.Id)) {