Skip to content
This repository has been archived by the owner on Aug 11, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1 from ImaMapleTree/develop
Browse files Browse the repository at this point in the history
Small versioning fix
  • Loading branch information
ImaMapleTree authored Apr 20, 2023
2 parents 8f82996 + 5d2c4bf commit 5eed657
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion VentFramework.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<PropertyGroup>
<Title>VentFramework</Title>
<Description>A modding framework for the popular social deduction game Among Us </Description>
<Version>1.2.1.19</Version>
<Version>1.2.1.20</Version>
<RootNamespace>VentLib</RootNamespace>
<TargetFramework>net6.0</TargetFramework>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
Expand Down
2 changes: 1 addition & 1 deletion src/Localization/Localizer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public Language[] FindAllLanguagesFromTranslation(string translation, string? qu
return Languages.Select(l => l.Value).Where(lang =>
{
if (qualifier != null)
return lang.Translate(qualifier, null!, TranslationCreationOption.NothingIfNull) != null!;
return lang.Translate(qualifier, null!, TranslationCreationOption.NothingIfNull) == translation;
return FlattenDictionaryValues(lang.Translations).Contains(translation);
}).ToArray();
}
Expand Down

0 comments on commit 5eed657

Please sign in to comment.