From fd2700a5b4971a476d0fdd8ab79aa2cf5702a1d5 Mon Sep 17 00:00:00 2001 From: DrabWeb Date: Thu, 7 Sep 2017 15:01:31 -0300 Subject: [PATCH] Fix .00 being displayed for star difficulty when the value is 0. --- osu.Game/Screens/Select/Details/AdvancedStats.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osu.Game/Screens/Select/Details/AdvancedStats.cs b/osu.Game/Screens/Select/Details/AdvancedStats.cs index 5f7377ec09..eb9e1d2c78 100644 --- a/osu.Game/Screens/Select/Details/AdvancedStats.cs +++ b/osu.Game/Screens/Select/Details/AdvancedStats.cs @@ -95,7 +95,7 @@ namespace osu.Game.Screens.Select.Details { difficultyValue = value; bar.Length = value / maxValue; - this.value.Text = value.ToString(forceDecimalPlaces ? "#.00" : "0.##"); + this.value.Text = value.ToString(forceDecimalPlaces ? "0.00" : "0.##"); } }