Skip to content

Commit

Permalink
Fixed an issue that prevented player scores, ranks, and challenge com…
Browse files Browse the repository at this point in the history
…pletion counts not to be zeroed when their session is reset but not unenrolled.
  • Loading branch information
sei-bstein committed Oct 30, 2023
1 parent 3539023 commit f3f13db
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,14 @@ await _store
.ExecuteUpdateAsync
(
p => p
.SetProperty(p => p.CorrectCount, 0)
.SetProperty(p => p.IsReady, false)
.SetProperty(p => p.PartialCount, 0)
.SetProperty(p => p.Rank, 0)
.SetProperty(p => p.Score, 0)
.SetProperty(p => p.SessionBegin, DateTimeOffset.MinValue)
.SetProperty(p => p.SessionEnd, DateTimeOffset.MinValue)
.SetProperty(p => p.SessionMinutes, 0)
.SetProperty(p => p.IsReady, false),
.SetProperty(p => p.SessionMinutes, 0),
cancellationToken
);
}
Expand Down

0 comments on commit f3f13db

Please sign in to comment.