瀏覽代碼

Allow disabling & deleting local mods other than vcmi mod

Ivan Savenko 2 年之前
父節點
當前提交
9658ffba99
共有 1 個文件被更改,包括 1 次插入1 次删除
  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