0
0
mirror of https://github.com/sp-tarkov/modules.git synced 2025-02-13 09:50:43 -05:00

Add comments to new function

This commit is contained in:
Dev 2024-01-04 17:24:11 +00:00
parent b94cf04971
commit 24e820feb5

View File

@ -4,6 +4,10 @@ using AchievementsController = GClass3207;
namespace Aki.SinglePlayer.Patches.Progression namespace Aki.SinglePlayer.Patches.Progression
{ {
/// <summary>
/// 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
/// </summary>
public class MidRaidAchievementChangePatch : ModulePatch public class MidRaidAchievementChangePatch : ModulePatch
{ {
protected override MethodBase GetTargetMethod() protected override MethodBase GetTargetMethod()
@ -15,7 +19,8 @@ namespace Aki.SinglePlayer.Patches.Progression
private static bool PatchPrefix(ref bool updateAchievements) private static bool PatchPrefix(ref bool updateAchievements)
{ {
updateAchievements = true; updateAchievements = true;
return true;
return true; // Do original method
} }
} }
} }