Skip to content

Commit

Permalink
Only add reference language Dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
cooolbros committed Dec 28, 2023
1 parent 077dec6 commit c87c2ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/HUDMerger/Models/Dependencies.cs
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public void Add(IEnumerable<KeyValue> keyValues)
// Language
foreach (string languageProperty in PropertyNames.LanguageTokens)
{
if (keyValue.Key.Contains(languageProperty, StringComparison.OrdinalIgnoreCase))
if (keyValue.Key.StartsWith('#') && keyValue.Key.Contains(languageProperty, StringComparison.OrdinalIgnoreCase))
{
LanguageTokens.Add(keyValue.Value);
}
Expand Down

0 comments on commit c87c2ec

Please sign in to comment.