mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 20:22:55 +08:00
🤔 I hope this works
This commit is contained in:
parent
bfebba3a20
commit
9dd8920c2c
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user