Fixed skill rewards not showing their progress on skills screen
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user