mirror of
https://github.com/ppy/osu.git
synced 2024-12-13 08:32:57 +08: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)
|
||||
{
|
||||
// TODO: This is required for playlist aggregate scores. They should likely not be getting here in the first place.
|
||||
// ReSharper disable once ConditionIsAlwaysTrueOrFalse
|
||||
if (score.BeatmapInfo == null)
|
||||
if (string.IsNullOrEmpty(score.BeatmapInfo.Hash))
|
||||
return score.TotalScore;
|
||||
|
||||
int beatmapMaxCombo;
|
||||
|
Loading…
Reference in New Issue
Block a user