From 26431f5740ad426cde98b657cdc20cee7f8da294 Mon Sep 17 00:00:00 2001 From: Vitalii Mikhailov Date: Wed, 29 May 2024 16:50:47 +0300 Subject: [PATCH] Fix --- src/Bannerlord.LauncherManager.Native/Bindings.ModuleManager.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Bannerlord.LauncherManager.Native/Bindings.ModuleManager.cs b/src/Bannerlord.LauncherManager.Native/Bindings.ModuleManager.cs index b2b08fa..0ce6300 100644 --- a/src/Bannerlord.LauncherManager.Native/Bindings.ModuleManager.cs +++ b/src/Bannerlord.LauncherManager.Native/Bindings.ModuleManager.cs @@ -411,7 +411,6 @@ public static unsafe partial class Bindings try { var doc = ReaderUtils2.Read(param_string.ToSpan(p_xml_content)); - doc.LoadXml(new string(param_string.ToSpan(p_xml_content))); var module = ModuleInfoExtended.FromXml(doc); var result = new ModuleInfoExtendedWithMetadata(module, Enum.TryParse(new string(param_string.ToSpan(p_module_provider)), out var e) ? e : ModuleProviderType.Default, new string(param_string.ToSpan(p_path)));