mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
Fix visibility of translation mods, fix heading for mod version field
This commit is contained in:
@@ -200,7 +200,7 @@ bool ModState::isVisible() const
|
||||
bool ModState::isHidden() const
|
||||
{
|
||||
if (isTranslation() && !isInstalled())
|
||||
return impl.getBaseLanguage() == CGeneralTextHandler::getPreferredLanguage();
|
||||
return impl.getBaseLanguage() != CGeneralTextHandler::getPreferredLanguage();
|
||||
|
||||
return isCompatibility() || getID() == "vcmi" || getID() == "core";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user