Hide All Unused Archive

This commit is contained in:
Luca 2022-11-10 15:17:11 +01:00 committed by GitHub
parent eee4881c8b
commit 39d8372a93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -248,7 +248,7 @@ public class StandardInstaller : AInstaller<StandardInstaller>
try
{
var parsed = metaFile.LoadIniFile();
if (parsed["General"] is not null && parsed["General"]["removed"] is null)
if (parsed["General"] is not null && (parsed["General"]["removed"] is null || parsed[General][removed=false]))
{
// add removed=true to files not part of the Modlist so they don't show up in MO2
parsed["General"]["removed"] = "true";