diff --git a/VentFramework.csproj b/VentFramework.csproj index cc3ec82..bd4a07f 100644 --- a/VentFramework.csproj +++ b/VentFramework.csproj @@ -2,7 +2,7 @@ VentFramework A modding framework for the popular social deduction game Among Us - 1.2.1.19 + 1.2.1.20 VentLib net6.0 LICENSE diff --git a/src/Localization/Localizer.cs b/src/Localization/Localizer.cs index f8233a7..c975c7d 100644 --- a/src/Localization/Localizer.cs +++ b/src/Localization/Localizer.cs @@ -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(); }