Move KPS calculation to a standalone class

This commit is contained in:
Ryuki
2022-08-05 04:17:01 +02:00
parent 89855cc1d6
commit 42d1bdfc95
7 changed files with 195 additions and 64 deletions

View File

@ -34,7 +34,7 @@ using osu.Game.Rulesets.Scoring;
using osu.Game.Rulesets.UI;
using osu.Game.Scoring;
using osu.Game.Scoring.Legacy;
using osu.Game.Screens.Play.HUD;
using osu.Game.Screens.Play.HUD.KPSCounter;
using osu.Game.Screens.Ranking;
using osu.Game.Skinning;
using osu.Game.Users;
@ -1046,7 +1046,7 @@ namespace osu.Game.Screens.Play
fadeOut();
KeysPerSecondCounter.Reset();
KeysPerSecondCalculator.GetInstance().Dispose();
return base.OnExiting(e);
}