From 9dd8920c2ceda574835057667a773090ae5ae409 Mon Sep 17 00:00:00 2001 From: Jorolf Date: Tue, 11 Apr 2017 14:22:13 +0200 Subject: [PATCH] :thinking: I hope this works --- osu.Game/Screens/Select/BeatmapDetails.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/osu.Game/Screens/Select/BeatmapDetails.cs b/osu.Game/Screens/Select/BeatmapDetails.cs index a76497b221..811235ea13 100644 --- a/osu.Game/Screens/Select/BeatmapDetails.cs +++ b/osu.Game/Screens/Select/BeatmapDetails.cs @@ -62,7 +62,7 @@ namespace osu.Game.Screens.Select approachRate.Value = beatmap.Difficulty.ApproachRate; stars.Value = (float)beatmap.StarDifficulty; - if (beatmap.Metric?.Ratings?.Count == 0) + if (beatmap.Metric?.Ratings == null) ratingsContainer.Hide(); else { @@ -76,7 +76,7 @@ namespace osu.Game.Screens.Select ratingsGraph.Values = ratings.Select(rating => (float)rating); } - if (beatmap.Metric?.Retries?.Count == 0 && beatmap.Metric?.Fails?.Count == 0) + if (beatmap.Metric?.Retries == null && beatmap.Metric?.Fails == null) retryFailContainer.Hide(); else {