mirror of
https://github.com/ppy/osu
synced 2025-02-13 08:37:48 +00:00
Fix playlist aggregate scores not displaying (again)
This commit is contained in:
parent
5dc7425b2c
commit
ebc9d3a613
@ -133,8 +133,7 @@ namespace osu.Game.Scoring
|
|||||||
public async Task<long> GetTotalScoreAsync([NotNull] ScoreInfo score, ScoringMode mode = ScoringMode.Standardised, CancellationToken cancellationToken = default)
|
public async Task<long> GetTotalScoreAsync([NotNull] ScoreInfo score, ScoringMode mode = ScoringMode.Standardised, CancellationToken cancellationToken = default)
|
||||||
{
|
{
|
||||||
// TODO: This is required for playlist aggregate scores. They should likely not be getting here in the first place.
|
// TODO: This is required for playlist aggregate scores. They should likely not be getting here in the first place.
|
||||||
// ReSharper disable once ConditionIsAlwaysTrueOrFalse
|
if (string.IsNullOrEmpty(score.BeatmapInfo.Hash))
|
||||||
if (score.BeatmapInfo == null)
|
|
||||||
return score.TotalScore;
|
return score.TotalScore;
|
||||||
|
|
||||||
int beatmapMaxCombo;
|
int beatmapMaxCombo;
|
||||||
|
Loading…
Reference in New Issue
Block a user