Fixed skill rewards not showing their progress on skills screen

This commit is contained in:
Chomp
2025-03-19 17:05:44 +00:00
parent 054e75048b
commit d388df3ce9
@@ -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();
}