diff --git a/Reactor.RemoveAccounts/FunctionalPatches.cs b/Reactor.RemoveAccounts/FunctionalPatches.cs index edfc3bd..f4dc12e 100644 --- a/Reactor.RemoveAccounts/FunctionalPatches.cs +++ b/Reactor.RemoveAccounts/FunctionalPatches.cs @@ -43,7 +43,6 @@ public static bool Prefix(EOSManager __instance) DataManager.Player.Account.LoginStatus = EOSManager.AccountLoginStatus.LoggedIn; DataManager.Settings.Multiplayer.ChatMode = QuickChatModes.FreeChatOrQuickChat; - DataManager.Player.Onboarding.LastAcceptedPrivacyPolicyVersion = Constants.PrivacyPolicyVersion; __instance.userId = new ProductUserId(); @@ -93,16 +92,6 @@ public static bool Prefix(out bool __result) } } - [HarmonyPatch(typeof(EOSManager), nameof(EOSManager.HasFinishedLoginFlow))] - public static class HasFinishedLoginFlowPatch - { - public static bool Prefix(out bool __result) - { - __result = true; - return false; - } - } - [HarmonyPatch(typeof(EOSManager), nameof(EOSManager.ProductUserId), MethodType.Getter)] public static class ProductUserIdOverride { @@ -151,4 +140,22 @@ public static bool Prefix() return false; } } + + [HarmonyPatch(typeof(AchievementManager), nameof(AchievementManager.UpdateAchievementProgress))] + public static class UpdateAchievementProgressPatch + { + public static bool Prefix() + { + return false; + } + } + + [HarmonyPatch(typeof(AchievementManager), nameof(AchievementManager.UnlockAchievement))] + public static class UnlockAchievementPatch + { + public static bool Prefix() + { + return false; + } + } } diff --git a/Reactor.RemoveAccounts/Reactor.RemoveAccounts.csproj b/Reactor.RemoveAccounts/Reactor.RemoveAccounts.csproj index 4cec049..d2a4ffc 100644 --- a/Reactor.RemoveAccounts/Reactor.RemoveAccounts.csproj +++ b/Reactor.RemoveAccounts/Reactor.RemoveAccounts.csproj @@ -11,7 +11,7 @@ - +