From 7c6247f4991db7ba021515294c5333dd16427f07 Mon Sep 17 00:00:00 2001 From: Ivan Savenko Date: Sat, 15 Apr 2023 20:02:10 +0300 Subject: [PATCH] Be less strict in detecting languages to catch different versions of H3 --- launcher/languages.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/launcher/languages.cpp b/launcher/languages.cpp index cf8e1b4dc..0009ac158 100644 --- a/launcher/languages.cpp +++ b/launcher/languages.cpp @@ -44,7 +44,7 @@ QString Languages::getHeroesDataLanguage() QString language = QString::fromStdString(settings["session"]["language"].String()); double deviation = settings["session"]["languageDeviation"].Float(); - if(deviation > 0.05) + if(deviation > 0.1) return QString(); return language; }