Rename ScorePerformanceManager to ScorePerformanceCache

This commit is contained in:
Dean Herbert
2020-11-06 13:15:33 +09:00
parent 5113d4af8f
commit 14bb079feb
3 changed files with 6 additions and 5 deletions

View File

@ -28,7 +28,7 @@ namespace osu.Game.Screens.Ranking.Expanded.Statistics
}
[BackgroundDependencyLoader]
private void load(ScorePerformanceManager performanceManager)
private void load(ScorePerformanceCache performanceCache)
{
if (score.PP.HasValue)
{
@ -36,7 +36,7 @@ namespace osu.Game.Screens.Ranking.Expanded.Statistics
}
else
{
performanceManager.CalculatePerformanceAsync(score, cancellationTokenSource.Token)
performanceCache.CalculatePerformanceAsync(score, cancellationTokenSource.Token)
.ContinueWith(t => Schedule(() => setPerformanceValue(t.Result)), cancellationTokenSource.Token);
}
}