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:
commit
86a7ab791e
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user