From 2b8666f0ae76683a6c34cf5cf212a352c25c6607 Mon Sep 17 00:00:00 2001 From: Paul Hebble Date: Sat, 23 Dec 2023 21:12:12 -0600 Subject: [PATCH] Put auto-installed mods in ignored modpack group by default --- Core/Registry/RegistryManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/Registry/RegistryManager.cs b/Core/Registry/RegistryManager.cs index dacfec4ead..cd777a7d17 100644 --- a/Core/Registry/RegistryManager.cs +++ b/Core/Registry/RegistryManager.cs @@ -497,7 +497,7 @@ public CkanModule GenerateModpack(bool recommends = false, bool with_versions = }; var rels = registry.InstalledModules - .Where(inst => !inst.Module.IsDLC && IsAvailable(inst)) + .Where(inst => !inst.Module.IsDLC && !inst.AutoInstalled && IsAvailable(inst)) .OrderBy(inst => inst.identifier, StringComparer.OrdinalIgnoreCase) .Select(with_versions ? (Func) RelationshipWithVersion : RelationshipWithoutVersion)