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

Better solution

This commit is contained in:
nordsoft 2023-09-19 17:19:00 +02:00 committed by Ivan Savenko
parent f10416be06
commit e82df8c726

View File

@ -105,7 +105,7 @@ bool CModEntry::isVisible() const
return false;
}
return (!localData.isEmpty() || !repository.isEmpty()) && !getValue("name").isNull();
return !localData.isEmpty() || (!repository.isEmpty() && !repository.contains("mod"));
}
bool CModEntry::isTranslation() const