mirror of
https://github.com/natsukagami/youmubot.git
synced 2025-04-19 16:58:55 +00:00
Include failing scores
This commit is contained in:
parent
bacb158028
commit
87f0efa927
2 changed files with 2 additions and 2 deletions
|
@ -147,7 +147,7 @@ impl From<rosu::score::Score> for Score {
|
|||
score: Some(s.legacy_score as u64).filter(|v| *v > 0),
|
||||
normalized_score: s.score,
|
||||
pp: s.pp.map(|v| v as f64),
|
||||
rank: s.grade.into(),
|
||||
rank: if s.passed { s.grade.into() } else { Rank::F },
|
||||
mods: s
|
||||
.mods
|
||||
.iter()
|
||||
|
|
|
@ -328,7 +328,7 @@ pub mod builders {
|
|||
let scores = handle_not_found({
|
||||
let mut r = client.rosu.user_scores(self.user);
|
||||
r = match self.score_type {
|
||||
UserScoreType::Recent => r.recent(),
|
||||
UserScoreType::Recent => r.recent().include_fails(true),
|
||||
UserScoreType::Best => r.best(),
|
||||
};
|
||||
if let Some(mode) = self.mode {
|
||||
|
|
Loading…
Add table
Reference in a new issue