mirror of
https://github.com/ppy/osu.git
synced 2025-03-28 20:47:22 +08:00
Fix double bind leading to test failures
This commit is contained in:
parent
653f5bce67
commit
4e43235955
@ -120,10 +120,6 @@ namespace osu.Game.Rulesets.UI
|
|||||||
public virtual void Add(DrawableHitObject h)
|
public virtual void Add(DrawableHitObject h)
|
||||||
{
|
{
|
||||||
HitObjectContainer.Add(h);
|
HitObjectContainer.Add(h);
|
||||||
|
|
||||||
h.OnNewResult += (d, r) => NewResult?.Invoke(d, r);
|
|
||||||
h.OnRevertResult += (d, r) => RevertResult?.Invoke(d, r);
|
|
||||||
|
|
||||||
OnHitObjectAdded(h.HitObject);
|
OnHitObjectAdded(h.HitObject);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user