From 1d9a92b45ff34cfa2d9452a4cacb052912cac928 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 29 Jun 2022 00:09:24 +0000 Subject: [PATCH] Automated dotnet-format update --- src/Bannerlord.Harmony/SubModule.cs | 2 +- src/Bannerlord.Harmony/Utils/LocalizedTextManagerUtils.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Bannerlord.Harmony/SubModule.cs b/src/Bannerlord.Harmony/SubModule.cs index f7f2c9e..ff7b409 100644 --- a/src/Bannerlord.Harmony/SubModule.cs +++ b/src/Bannerlord.Harmony/SubModule.cs @@ -50,7 +50,7 @@ protected override void OnSubModuleLoad() base.OnSubModuleLoad(); LoadHarmony(); - + if (ApplicationVersionHelper.GameVersion() is { } gameVersion) { if (gameVersion.Major is 1 && gameVersion.Minor is 8 && gameVersion.Revision is >= 0) diff --git a/src/Bannerlord.Harmony/Utils/LocalizedTextManagerUtils.cs b/src/Bannerlord.Harmony/Utils/LocalizedTextManagerUtils.cs index 30b12ba..da82670 100644 --- a/src/Bannerlord.Harmony/Utils/LocalizedTextManagerUtils.cs +++ b/src/Bannerlord.Harmony/Utils/LocalizedTextManagerUtils.cs @@ -16,7 +16,7 @@ internal static class LocalizedTextManagerUtils private delegate XmlDocument? LoadXmlFileDelegate(string path); private static readonly LoadXmlFileDelegate? LoadXmlFile = AccessTools2.GetDeclaredDelegate("TaleWorlds.Localization.LocalizedTextManager:LoadXmlFile"); - + private delegate void LoadFromXmlDelegate(XmlDocument doc, string modulePath); private static readonly LoadFromXmlDelegate? LoadFromXml = AccessTools2.GetDeclaredDelegate("TaleWorlds.Localization.LanguageData:LoadFromXml");