diff --git a/osu.Desktop.VisualTests/Tests/TestCaseUserRanks.cs b/osu.Desktop.VisualTests/Tests/TestCaseUserRanks.cs index 651c39ede4..d3d0ae4577 100644 --- a/osu.Desktop.VisualTests/Tests/TestCaseUserRanks.cs +++ b/osu.Desktop.VisualTests/Tests/TestCaseUserRanks.cs @@ -15,8 +15,6 @@ using osu.Game.Rulesets.Scoring; using System; using System.Collections.Generic; using System.Linq; -using System.Text; -using System.Threading.Tasks; namespace osu.Desktop.VisualTests.Tests { diff --git a/osu.Game/Overlays/Profile/Sections/Ranks/DrawablePlay.cs b/osu.Game/Overlays/Profile/Sections/Ranks/DrawablePlay.cs index 66588462f3..5b3bbff3ca 100644 --- a/osu.Game/Overlays/Profile/Sections/Ranks/DrawablePlay.cs +++ b/osu.Game/Overlays/Profile/Sections/Ranks/DrawablePlay.cs @@ -16,6 +16,7 @@ using OpenTK.Graphics; using System.Diagnostics; using osu.Framework.Input; using osu.Framework.Localisation; +using System.Globalization; namespace osu.Game.Overlays.Profile.Sections.Ranks { @@ -89,7 +90,7 @@ namespace osu.Game.Overlays.Profile.Sections.Ranks { stats.Add(new OsuSpriteText { - Text = $"weighted: {(int)(play.PerformancePoints * weight)}pp ({weight.ToString("0%")})", + Text = $"weighted: {(int)(play.PerformancePoints * weight)}pp ({weight.ToString("0%", CultureInfo.CurrentCulture)})", Anchor = Anchor.TopRight, Origin = Anchor.TopRight, Colour = colour.GrayA,