1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-25 00:20:49 +08:00

Explicitly explain to users that failed plays do not give pp on results screen

Addresses https://osu.ppy.sh/community/forums/topics/2096912.
This commit is contained in:
Bartłomiej Dach
2025-06-27 13:24:45 +02:00
Unverified
parent 2161d911ea
commit 360ba548dc
2 changed files with 10 additions and 0 deletions
@@ -19,6 +19,11 @@ namespace osu.Game.Localisation
/// </summary>
public static LocalisableString NoPPForUnrankedMods => new TranslatableString(getKey(@"no_pp_for_unranked_mods"), @"Performance points are not granted for this score because of unranked mods.");
/// <summary>
/// "Performance points are not granted for failed scores."
/// </summary>
public static LocalisableString NoPPForFailedScores => new TranslatableString(getKey(@"no_pp_for_failed_scores"), @"Performance points are not granted for failed scores.");
private static string getKey(string key) => $@"{prefix}:{key}";
}
}
@@ -79,6 +79,11 @@ namespace osu.Game.Screens.Ranking.Expanded.Statistics
Alpha = 0.5f;
TooltipText = ResultsScreenStrings.NoPPForUnrankedMods;
}
else if (scoreInfo.Rank == ScoreRank.F)
{
Alpha = 0.5f;
TooltipText = ResultsScreenStrings.NoPPForFailedScores;
}
else
{
Alpha = 1f;