Skip to content

Commit a1e27dd

Browse files
authored
Merge pull request #11153 from notbakaneko/feature/user-best-exclude-no-pp
Exclude scores without pp from user best performance
2 parents 2c0def4 + 6973283 commit a1e27dd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/Models/Traits/UserScoreable.php

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ trait UserScoreable
1919
public function aggregatedScoresBest(string $mode, null | true $legacyOnly, int $size): array
2020
{
2121
return (new FetchDedupedScores('beatmap_id', ScoreSearchParams::fromArray([
22+
'exclude_without_pp' => true,
2223
'is_legacy' => $legacyOnly,
2324
'limit' => $size,
2425
'ruleset_id' => Beatmap::MODES[$mode],

0 commit comments

Comments
 (0)