mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 09:02:58 +08:00
Show retry/fail graph when either list is present
This commit is contained in:
parent
cc6ae8e3bd
commit
29b4d98aac
@ -236,7 +236,7 @@ namespace osu.Game.Screens.Select
|
|||||||
private void updateMetrics()
|
private void updateMetrics()
|
||||||
{
|
{
|
||||||
var hasRatings = beatmap?.BeatmapSet?.Metrics?.Ratings?.Any() ?? false;
|
var hasRatings = beatmap?.BeatmapSet?.Metrics?.Ratings?.Any() ?? false;
|
||||||
var hasRetriesFails = (beatmap?.Metrics?.Retries?.Any() ?? false) && (beatmap?.Metrics.Fails?.Any() ?? false);
|
var hasRetriesFails = (beatmap?.Metrics?.Retries?.Any() ?? false) || (beatmap?.Metrics?.Fails?.Any() ?? false);
|
||||||
|
|
||||||
if (hasRatings)
|
if (hasRatings)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user