mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Restructure PerformanceCalculator to not require ScoreInfo argument
This commit is contained in:
@ -84,7 +84,7 @@ namespace osu.Game.Rulesets.Difficulty
|
||||
).ConfigureAwait(false);
|
||||
|
||||
// ScorePerformanceCache is not used to avoid caching multiple copies of essentially identical perfect performance attributes
|
||||
return difficulty == null ? null : ruleset.CreatePerformanceCalculator(difficulty.Value.Attributes, perfectPlay)?.Calculate();
|
||||
return difficulty == null ? null : ruleset.CreatePerformanceCalculator()?.Calculate(perfectPlay, difficulty.Value.Attributes);
|
||||
}, cancellationToken);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user