From 7b8997cfc2ea6bd9f11d72c8dc49c84d9519d680 Mon Sep 17 00:00:00 2001 From: Jorolf Date: Wed, 26 Jul 2017 19:42:34 +0200 Subject: [PATCH] CI stuff --- osu.Desktop.VisualTests/Tests/TestCaseUserRanks.cs | 2 -- osu.Game/Overlays/Profile/Sections/Ranks/DrawablePlay.cs | 3 ++- 2 files changed, 2 insertions(+), 3 deletions(-) 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,