diff --git a/Libraries/SPTarkov.Server.Core/Helpers/HealthHelper.cs b/Libraries/SPTarkov.Server.Core/Helpers/HealthHelper.cs
index 8470b119..3365cf69 100644
--- a/Libraries/SPTarkov.Server.Core/Helpers/HealthHelper.cs
+++ b/Libraries/SPTarkov.Server.Core/Helpers/HealthHelper.cs
@@ -218,12 +218,12 @@ public class HealthHelper(
// Effect already exists on limb in server profile, skip
var profileBodyPartEffects = profileData.Health.BodyParts[bodyPartId.Key].Effects;
- if (profileBodyPartEffects.TryGetValue(effect.Key, out var dictEffect))
+ if (profileBodyPartEffects.TryGetValue(effect.Key, out _))
{
if (effectsToIgnore.Contains(effect.Key))
- // Get rid of certain effects we dont want to persist out of raid
+ // Get rid of certain effects we don't want to persist out of raid
{
- dictEffect = null;
+ profileBodyPartEffects[effect.Key] = null;
}
continue;
@@ -249,7 +249,7 @@ public class HealthHelper(
}
///
- /// Adjust hydration/energy/temperate and body part hp values in player profile to values in profile.vitality
+ /// Adjust hydration/energy/temperate and body part hp values in player profile to values in `profile.vitality`
///
/// Profile to update
/// Session id