Skip to content

Commit b792d8e

Browse files
authored
Merge pull request #11060 from nanaya/fi-mania-rank
Include fade in for hidden rank check
2 parents bba151d + 5f3ccf7 commit b792d8e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/Models/Traits/Scoreable.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ public function recalculateRank(): void
170170
private function shouldHaveHiddenRank(): bool
171171
{
172172
foreach ($this->enabled_mods as $mod) {
173-
if ($mod === 'FL' || $mod === 'HD') {
173+
if ($mod === 'FI' || $mod === 'FL' || $mod === 'HD') {
174174
return true;
175175
}
176176
}

resources/js/utils/legacy-score-helper.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ document.addEventListener('turbolinks:load', () => {
1616
});
1717

1818
function shouldHaveHiddenRank(score: SoloScoreJson) {
19-
return score.mods.some((mod) => mod.acronym === 'FL' || mod.acronym === 'HD');
19+
return score.mods.some((mod) => mod.acronym === 'FI' || mod.acronym === 'FL' || mod.acronym === 'HD');
2020
}
2121

2222
export function legacyAccuracyAndRank(score: SoloScoreJson) {

0 commit comments

Comments
 (0)