0
0
mirror of https://github.com/sp-tarkov/modules.git synced 2025-02-12 22:30:44 -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,7 +4,11 @@ using AchievementsController = GClass3207;
namespace Aki.SinglePlayer.Patches.Progression
{
public class MidRaidAchievementChangePatch : ModulePatch
/// <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
{
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
}
}
}