Sfoglia il codice sorgente

Allow disabling & deleting local mods other than vcmi mod

Ivan Savenko 2 anni fa
parent
commit
9658ffba99
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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