mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-24 08:32:34 +02:00
Be less strict in detecting languages to catch different versions of H3
This commit is contained in:
parent
c125e040c3
commit
7c6247f499
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user