1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 19:22:54 +08:00

Fix double bind leading to test failures

This commit is contained in:
smoogipoo 2020-11-12 15:33:49 +09:00
parent 653f5bce67
commit 4e43235955

View File

@ -120,10 +120,6 @@ namespace osu.Game.Rulesets.UI
public virtual void Add(DrawableHitObject h)
{
HitObjectContainer.Add(h);
h.OnNewResult += (d, r) => NewResult?.Invoke(d, r);
h.OnRevertResult += (d, r) => RevertResult?.Invoke(d, r);
OnHitObjectAdded(h.HitObject);
}