diff --git a/src/Bannerlord.ModuleManager.Models/ModuleInfoExtended.cs b/src/Bannerlord.ModuleManager.Models/ModuleInfoExtended.cs index 5627ba5..6a1a941 100644 --- a/src/Bannerlord.ModuleManager.Models/ModuleInfoExtended.cs +++ b/src/Bannerlord.ModuleManager.Models/ModuleInfoExtended.cs @@ -158,8 +158,7 @@ record ModuleInfoExtended // var url = moduleNode?.SelectSingleNode("Url")?.Attributes?["value"]?.InnerText ?? string.Empty; - var updateInfoProvider = moduleNode?.SelectSingleNode("UpdateInfo")?.Attributes?["provider"]?.InnerText ?? string.Empty; - var updateInfoValue = moduleNode?.SelectSingleNode("UpdateInfo")?.Attributes?["value"]?.InnerText ?? string.Empty; + var updateInfo = moduleNode?.SelectSingleNode("UpdateInfo")?.Attributes?["value"]?.InnerText ?? string.Empty; var dependentModuleMetadatasNode = moduleNode?.SelectSingleNode("DependedModuleMetadatas"); var dependentModuleMetadatasList = dependentModuleMetadatasNode?.SelectNodes("DependedModuleMetadata"); @@ -268,7 +267,7 @@ record ModuleInfoExtended ModulesToLoadAfterThis = modulesToLoadAfterThis, IncompatibleModules = incompatibleModules, Url = url, - UpdateInfo = !string.IsNullOrEmpty(updateInfoProvider) && !string.IsNullOrEmpty(updateInfoValue) ? $"{updateInfoProvider}:{updateInfoValue}" : string.Empty, + UpdateInfo = !string.IsNullOrEmpty(updateInfo) ? updateInfo : string.Empty, DependentModuleMetadatas = dependentModuleMetadatas }; }