mirror of
https://github.com/ppy/osu
synced 2025-01-03 12:52:10 +00:00
Check count as well (statistics can be populated with zero counts)
This commit is contained in:
parent
ef82528309
commit
7a710ceffe
@ -146,7 +146,7 @@ namespace osu.Game.Screens.Play
|
||||
return scoreSubmissionSource.Task;
|
||||
|
||||
// if the user never hit anything, this score should not be counted in any way.
|
||||
if (!score.ScoreInfo.Statistics.Any(s => s.Key.IsHit()))
|
||||
if (!score.ScoreInfo.Statistics.Any(s => s.Key.IsHit() && s.Value > 0))
|
||||
return Task.CompletedTask;
|
||||
|
||||
scoreSubmissionSource = new TaskCompletionSource<bool>();
|
||||
|
Loading…
Reference in New Issue
Block a user