1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-15 00:05:02 +02:00

Stabilization

This commit is contained in:
Ivan Savenko
2024-01-16 20:47:09 +02:00
parent ffd604c114
commit e50f586d8b
3 changed files with 4 additions and 3 deletions

View File

@ -127,7 +127,7 @@ void CModInfo::loadLocalData(const JsonNode & data)
if (config["modType"].String() == "Translation")
{
if (baseLanguage != VLC->generaltexth->getPreferredLanguage())
if (baseLanguage != CGeneralTextHandler::getPreferredLanguage())
{
if (identifier.find_last_of('.') == std::string::npos)
logGlobal->warn("Translation mod %s was not loaded: language mismatch!", verificationInfo.name);