Remove explicit binding to accuracy counter from overlay

This commit is contained in:
Bartłomiej Dach 2021-05-08 21:38:03 +02:00
parent efb9164658
commit 67cea6e762
2 changed files with 0 additions and 5 deletions

View File

@ -1,15 +1,12 @@
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Bindables;
using osu.Game.Skinning;
namespace osu.Game.Screens.Play.HUD
{
public class SkinnableAccuracyCounter : SkinnableDrawable
{
public Bindable<double> Current { get; } = new Bindable<double>();
public SkinnableAccuracyCounter()
: base(new HUDSkinComponent(HUDSkinComponents.AccuracyCounter), _ => new DefaultAccuracyCounter())
{

View File

@ -320,8 +320,6 @@ protected virtual void BindDrawableRuleset(DrawableRuleset drawableRuleset)
protected virtual void BindScoreProcessor(ScoreProcessor processor)
{
AccuracyCounter?.Current.BindTo(processor.Accuracy);
if (HealthDisplay is IHealthDisplay shd)
{
processor.NewJudgement += judgement =>