mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-28 08:48:48 +02:00
Better solution
This commit is contained in:
parent
f10416be06
commit
e82df8c726
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user