1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 17:43:05 +08:00

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
commit 86a7ab791e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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