Create PerformanceAttributes

This commit is contained in:
StanR
2021-12-21 13:08:31 +03:00
parent 2f2006715e
commit cca02a8016
12 changed files with 119 additions and 43 deletions

View File

@ -129,7 +129,7 @@ namespace osu.Game.Screens.Play.HUD
var calculator = gameplayState.Ruleset.CreatePerformanceCalculator(attrib, scoreInfo);
Current.Value = (int)Math.Round(calculator?.Calculate() ?? 0, MidpointRounding.AwayFromZero);
Current.Value = (int)Math.Round(calculator?.Calculate().Total ?? 0, MidpointRounding.AwayFromZero);
IsValid = true;
}