1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-28 08:48:48 +02:00

Be less strict in detecting languages to catch different versions of H3

This commit is contained in:
Ivan Savenko 2023-04-15 20:02:10 +03:00
parent c125e040c3
commit 7c6247f499

View File

@ -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;
}