Skip to content

Commit

Permalink
Merge pull request #67 from BUTR/dev
Browse files Browse the repository at this point in the history
Release
  • Loading branch information
Aragas authored Jun 30, 2022
2 parents 6a1b743 + 2308fe5 commit 0499e1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Bannerlord.Harmony/Utils/LocalizedTextManagerUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public static void LoadLanguageData()
var path = Path.Combine(Utilities.GetBasePath(), "Modules", moduleInfo.Id, "ModuleData", "Languages");
if (!Directory.Exists(path)) return;

foreach (var file in Directory.GetFiles(path, "language_data.xml_", SearchOption.AllDirectories))
foreach (var file in Directory.GetFiles(path, "language_data._xml", SearchOption.AllDirectories))
{
if (LoadXmlFile(file) is { } xmlDocument)
LoadFromXml(xmlDocument, path);
Expand Down

0 comments on commit 0499e1f

Please sign in to comment.