From 0644543e28f42118c209cbcc49c078fe82eafd91 Mon Sep 17 00:00:00 2001 From: Hoopsy Date: Wed, 22 Oct 2025 00:29:55 +0300 Subject: [PATCH 1/2] Accuracy to pause and fail --- osu.Game/Screens/Play/GameplayMenuOverlay.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/osu.Game/Screens/Play/GameplayMenuOverlay.cs b/osu.Game/Screens/Play/GameplayMenuOverlay.cs index ffd7845356..4ad99bc62a 100644 --- a/osu.Game/Screens/Play/GameplayMenuOverlay.cs +++ b/osu.Game/Screens/Play/GameplayMenuOverlay.cs @@ -22,6 +22,8 @@ using osu.Game.Input.Bindings; using osuTK; using osuTK.Graphics; using osu.Game.Localisation; +using osu.Game.Utils; +using osu.Game.Localisation.HUD; namespace osu.Game.Screens.Play { @@ -231,6 +233,12 @@ namespace osu.Game.Screens.Play playInfoText.AddText(GameplayMenuOverlayStrings.SongProgress); playInfoText.AddText($"{progress}%", cp => cp.Font = cp.Font.With(weight: FontWeight.Bold)); } + if (gameplayState != null) + { + playInfoText.NewLine(); + playInfoText.AddText("Accuracy: "); + playInfoText.AddText(gameplayState!.ScoreProcessor.Accuracy.Value.FormatAccuracy(), cp => cp.Font = cp.Font.With(weight: FontWeight.Bold)); + } } private int? getSongProgress() From 2ec0cbe5db12d3778a3b59b43d9efe0449c9e470 Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Wed, 22 Oct 2025 13:56:38 +0900 Subject: [PATCH 2/2] Allow localisation of accuracy display on pause screen --- osu.Game/Screens/Play/GameplayMenuOverlay.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/osu.Game/Screens/Play/GameplayMenuOverlay.cs b/osu.Game/Screens/Play/GameplayMenuOverlay.cs index 4ad99bc62a..7d946dc678 100644 --- a/osu.Game/Screens/Play/GameplayMenuOverlay.cs +++ b/osu.Game/Screens/Play/GameplayMenuOverlay.cs @@ -23,7 +23,6 @@ using osuTK; using osuTK.Graphics; using osu.Game.Localisation; using osu.Game.Utils; -using osu.Game.Localisation.HUD; namespace osu.Game.Screens.Play { @@ -233,10 +232,12 @@ namespace osu.Game.Screens.Play playInfoText.AddText(GameplayMenuOverlayStrings.SongProgress); playInfoText.AddText($"{progress}%", cp => cp.Font = cp.Font.With(weight: FontWeight.Bold)); } + if (gameplayState != null) { playInfoText.NewLine(); - playInfoText.AddText("Accuracy: "); + playInfoText.AddText(SongSelectStrings.Accuracy); + playInfoText.AddText(": "); playInfoText.AddText(gameplayState!.ScoreProcessor.Accuracy.Value.FormatAccuracy(), cp => cp.Font = cp.Font.With(weight: FontWeight.Bold)); } }