Skip to content

Commit

Permalink
Merge pull request ppy#10779 from nanaya/mp-room-high-completed
Browse files Browse the repository at this point in the history
Fix incorrect check for completed playlist item
  • Loading branch information
peppy authored Dec 2, 2023
2 parents 568fb0a + 7c4a296 commit 2d02394
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Models/Multiplayer/UserScoreAggregate.php
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ public function userRank()

private function updateUserTotal(ScoreLink $currentScoreLink, PlaylistItemUserHighScore $prev)
{
if ($prev->exists) {
if ($prev->last_score_id !== null) {
$this->total_score -= $prev->total_score;
$this->accuracy -= $prev->accuracy;
$this->pp -= $prev->pp;
Expand Down

0 comments on commit 2d02394

Please sign in to comment.