From c25748899928bfc1a52a07dab06b19ffe6cecbb4 Mon Sep 17 00:00:00 2001 From: Miepee Date: Sun, 9 Oct 2022 01:55:33 +0200 Subject: [PATCH] Fix archiving mods issues --- AM2RLauncher/AM2RLauncherLib/Profile.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AM2RLauncher/AM2RLauncherLib/Profile.cs b/AM2RLauncher/AM2RLauncherLib/Profile.cs index 7e2d750..ec828cf 100644 --- a/AM2RLauncher/AM2RLauncherLib/Profile.cs +++ b/AM2RLauncher/AM2RLauncherLib/Profile.cs @@ -235,7 +235,7 @@ public static class Profile // Safety check for non-installable profiles // If not installable and isn't installed, remove it - if (!profile.Installable && IsProfileInstalled(profile)) + if (!profile.Installable && !IsProfileInstalled(profile)) DeleteProfile(profile); else profileList.Add(profile); @@ -260,7 +260,7 @@ public static class Profile // Change name to include version and be unique profile.Name += $" ({profile.Version})"; // if we're archiving community updates, remove the "latest" part - profile.Name = profile.Name.Replace("Community Updates Latest", "Community Updates"); + profile.Name = profile.Name.Replace("Community Updates (Latest)", "Community Updates"); log.Info($"Archiving {profile.Name}");