mirror of
https://github.com/ppy/osu
synced 2024-12-13 10:28:17 +00:00
Add better commenting for ambiguous parameter
This commit is contained in:
parent
9670ea9a2a
commit
d84f1f05e2
@ -92,6 +92,11 @@ namespace osu.Game.Screens.Select
|
||||
updateMetrics(requestedBeatmap.Metrics, false);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Update displayed metrics.
|
||||
/// </summary>
|
||||
/// <param name="metrics">New metrics to overwrite the existing display. Can be null.</param>
|
||||
/// <param name="failOnMissing">Whether to hide the display on null or empty metrics. If false, we will dim as if waiting for further updates.</param>
|
||||
private void updateMetrics(BeatmapMetrics metrics, bool failOnMissing = true)
|
||||
{
|
||||
var hasRatings = metrics?.Ratings.Any() ?? false;
|
||||
|
Loading…
Reference in New Issue
Block a user