fix(score): make scores of loved beatmap as ranked scores

This commit is contained in:
MingxuanGame
2025-08-30 11:49:23 +00:00
parent 554f1e6432
commit e872c25918
3 changed files with 22 additions and 19 deletions

View File

@@ -31,6 +31,10 @@ class BeatmapRankStatus(IntEnum):
BeatmapRankStatus.APPROVED,
}
def ranked(self) -> bool:
# https://osu.ppy.sh/wiki/Gameplay/Score/Ranked_score
return self in {BeatmapRankStatus.RANKED, BeatmapRankStatus.APPROVED, BeatmapRankStatus.LOVED}
class Genre(IntEnum):
ANY = 0