1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

Allow disabling & deleting local mods other than vcmi mod

This commit is contained in:
Ivan Savenko 2023-01-09 23:38:04 +02:00
parent e188060480
commit 9658ffba99

View File

@ -124,7 +124,7 @@ bool CModEntry::isCompatible() const
bool CModEntry::isEssential() const
{
return getValue("storedLocaly").toBool();
return getName() == "vcmi";
}
bool CModEntry::isInstalled() const