From 24e820feb53d4a58f57aa18b44f3ff4113dc4bff Mon Sep 17 00:00:00 2001 From: Dev Date: Thu, 4 Jan 2024 17:24:11 +0000 Subject: [PATCH] Add comments to new function --- .../Patches/Progression/MidRaidAchievementChangePatch.cs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/project/Aki.SinglePlayer/Patches/Progression/MidRaidAchievementChangePatch.cs b/project/Aki.SinglePlayer/Patches/Progression/MidRaidAchievementChangePatch.cs index ccb152c..d77fc34 100644 --- a/project/Aki.SinglePlayer/Patches/Progression/MidRaidAchievementChangePatch.cs +++ b/project/Aki.SinglePlayer/Patches/Progression/MidRaidAchievementChangePatch.cs @@ -4,7 +4,11 @@ using AchievementsController = GClass3207; namespace Aki.SinglePlayer.Patches.Progression { - public class MidRaidAchievementChangePatch : ModulePatch + /// + /// BSG have disabled notifications for local raids, set updateAchievements in the achievement controller to always be true + /// This enables the achievement notifications and the client to save completed achievement data into profile.Achievements + /// + public class MidRaidAchievementChangePatch : ModulePatch { protected override MethodBase GetTargetMethod() { @@ -15,7 +19,8 @@ namespace Aki.SinglePlayer.Patches.Progression private static bool PatchPrefix(ref bool updateAchievements) { updateAchievements = true; - return true; + + return true; // Do original method } } } \ No newline at end of file