Browse Source

Allow disabling & deleting local mods other than vcmi mod

Ivan Savenko 2 years ago
parent
commit
9658ffba99
1 changed files with 1 additions and 1 deletions
  1. 1 1
      launcher/modManager/cmodlist.cpp

+ 1 - 1
launcher/modManager/cmodlist.cpp

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