Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change display for scores not awared pp #10918

Merged
merged 6 commits into from
Jan 30, 2024

Conversation

notbakaneko
Copy link
Collaborator

@notbakaneko notbakaneko commented Jan 30, 2024

closes #10911

using hidden as the flag for legacy scores, not sure if there's a better mapping for it? 🤔

@notbakaneko notbakaneko self-assigned this Jan 30, 2024
@@ -174,6 +174,7 @@ public function getNewScoreAttribute(string $key)
'legacy_total_score' => $this->score,
'max_combo' => $this->maxcombo,
'passed' => $this->pass,
'ranked' => !$this->hidden,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be true for best model and false otherwise

(or maybe ignore the value if not solo score where it's being used)

@nanaya
Copy link
Collaborator

nanaya commented Jan 30, 2024

Maybe the pp value render logic should just be split between legacy and solo score.

@nanaya nanaya enabled auto-merge January 30, 2024 13:04
@nanaya nanaya merged commit 96356e7 into ppy:master Jan 30, 2024
3 checks passed
@notbakaneko notbakaneko deleted the play-details-no-ranked-no-pp branch January 31, 2024 07:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Scores set with mods which don't support pp show as "This score is still being calculated"
3 participants