mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 09:20:02 +09:00
Consume display name logic
This commit is contained in:
@ -2,9 +2,9 @@
|
||||
// See the LICENCE file in the repository root for full licence text.
|
||||
|
||||
using osu.Framework.Allocation;
|
||||
using osu.Framework.Extensions;
|
||||
using osu.Game.Graphics;
|
||||
using osu.Game.Rulesets.Scoring;
|
||||
using osu.Game.Scoring;
|
||||
|
||||
namespace osu.Game.Screens.Ranking.Expanded.Statistics
|
||||
{
|
||||
@ -12,10 +12,10 @@ namespace osu.Game.Screens.Ranking.Expanded.Statistics
|
||||
{
|
||||
private readonly HitResult result;
|
||||
|
||||
public HitResultStatistic(HitResult result, int count, int? maxCount = null)
|
||||
: base(result.GetDescription(), count, maxCount)
|
||||
public HitResultStatistic(HitResultDisplayStatistic result)
|
||||
: base(result.DisplayName, result.Count, result.MaxCount)
|
||||
{
|
||||
this.result = result;
|
||||
this.result = result.Result;
|
||||
}
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
|
Reference in New Issue
Block a user