Selaa lähdekoodia

Allow disabling & deleting local mods other than vcmi mod

Ivan Savenko 2 vuotta sitten
vanhempi
sitoutus
9658ffba99
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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
 {
-	return getValue("storedLocaly").toBool();
+	return getName() == "vcmi";
 }
 
 bool CModEntry::isInstalled() const