1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 06:03:08 +08:00

Fix beatmap statistics with value of zero not displaying correctly at song select

Closes #13307.
This commit is contained in:
Dean Herbert 2021-06-03 01:58:50 +09:00
parent 7b88ba8c63
commit d6656047e3

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)