From d388df3ce9fa53d5b0d7bbf7b6276e8923d37993 Mon Sep 17 00:00:00 2001 From: Chomp Date: Wed, 19 Mar 2025 17:05:44 +0000 Subject: [PATCH] Fixed skill rewards not showing their progress on skills screen --- Libraries/SPTarkov.Server.Core/Helpers/ProfileHelper.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Libraries/SPTarkov.Server.Core/Helpers/ProfileHelper.cs b/Libraries/SPTarkov.Server.Core/Helpers/ProfileHelper.cs index 6ab154fd..6ee1735a 100644 --- a/Libraries/SPTarkov.Server.Core/Helpers/ProfileHelper.cs +++ b/Libraries/SPTarkov.Server.Core/Helpers/ProfileHelper.cs @@ -524,6 +524,10 @@ public class ProfileHelper( profileSkill.Progress += pointsToAddToSkill; profileSkill.Progress = Math.Min(profileSkill?.Progress ?? 0D, 5100); // Prevent skill from ever going above level 51 (5100) + + profileSkill.PointsEarnedDuringSession ??= 0; + profileSkill.PointsEarnedDuringSession += pointsToAddToSkill; + profileSkill.LastAccess = _timeUtil.GetTimeStamp(); }