Skip to content

Commit

Permalink
Merge pull request #65 from BUTR/code-formatting/fix-codeformatting
Browse files Browse the repository at this point in the history
Automated PR to fix formatting errors
  • Loading branch information
Aragas authored Jun 30, 2022
2 parents 28fa6e3 + 1d9a92b commit 66b6848
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Bannerlord.Harmony/SubModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion src/Bannerlord.Harmony/Utils/LocalizedTextManagerUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ internal static class LocalizedTextManagerUtils
private delegate XmlDocument? LoadXmlFileDelegate(string path);
private static readonly LoadXmlFileDelegate? LoadXmlFile =
AccessTools2.GetDeclaredDelegate<LoadXmlFileDelegate>("TaleWorlds.Localization.LocalizedTextManager:LoadXmlFile");

private delegate void LoadFromXmlDelegate(XmlDocument doc, string modulePath);
private static readonly LoadFromXmlDelegate? LoadFromXml =
AccessTools2.GetDeclaredDelegate<LoadFromXmlDelegate>("TaleWorlds.Localization.LanguageData:LoadFromXml");
Expand Down

0 comments on commit 66b6848

Please sign in to comment.