We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f76650a commit d581fa4Copy full SHA for d581fa4
1 file changed
bathbot/src/util/osu.rs
@@ -6,6 +6,7 @@ use std::{
6
fmt::{Display, Formatter, Result as FmtResult},
7
io::Cursor,
8
mem::MaybeUninit,
9
+ ops::Not,
10
};
11
12
use bathbot_model::{OsuStatsParams, ScoreSlim};
@@ -800,7 +801,9 @@ impl PersonalBestIndex {
800
801
802
if idx == 100 {
803
return Self::NotTop100;
- } else if !matches!(status, RankStatus::Ranked | RankStatus::Approved) {
804
+ } else if !matches!(status, RankStatus::Ranked | RankStatus::Approved)
805
+ || top100[idx].ranked.is_some_and(bool::not)
806
+ {
807
return Self::IfRanked { idx };
808
} else if let Some(top) = top100.get(idx) {
809
if score.is_eq(top) {
0 commit comments