Skip to content

Commit

Permalink
Fix sorting in heya for unranked players
Browse files Browse the repository at this point in the history
  • Loading branch information
danieldickison committed Sep 29, 2024
1 parent 4e6099a commit 2a5725d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/data/heya.rs
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ impl Member {
":first_basho": basho_range.start
}, Self::from_row)?
.map(|r| r.unwrap())
.sorted_by_key(|m| m.player.rank)
.sorted_by_key(|m| u16::MAX - m.recent_scores_total())
.collect())
}

Expand Down

0 comments on commit 2a5725d

Please sign in to comment.