Merge pull request #13308 from peppy/fix-zero-statistics-display

Fix beatmap statistics with value of zero not displaying correctly at song select
This commit is contained in:
Dan Balasescu
2021-06-03 10:53:55 +09:00
committed by GitHub

View File

@ -186,11 +186,11 @@ namespace osu.Game.Screens.Select.Details
set => name.Text = value;
}
private (float baseValue, float? adjustedValue) value;
private (float baseValue, float? adjustedValue)? value;
public (float baseValue, float? adjustedValue) Value
{
get => value;
get => value ?? (0, null);
set
{
if (value == this.value)