mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 02:02:53 +08:00
Fix nested hitobject judgements not being removed
This commit is contained in:
parent
8adf0a6db3
commit
ae8407a3f3
@ -212,6 +212,7 @@ namespace osu.Game.Rulesets.Objects.Drawables
|
||||
nestedHitObjects = new List<DrawableHitObject<TObject>>();
|
||||
|
||||
h.OnJudgement += (d, j) => OnJudgement?.Invoke(d, j);
|
||||
h.OnJudgementRemoved += (d, j) => OnJudgementRemoved?.Invoke(d, j);
|
||||
nestedHitObjects.Add(h);
|
||||
}
|
||||
|
||||
|
@ -242,7 +242,7 @@ namespace osu.Game.Rulesets.UI
|
||||
OnJudgement?.Invoke(j);
|
||||
};
|
||||
|
||||
drawableObject.OnJudgementRemoved += (d, j) => { OnJudgementRemoved?.Invoke(j); };
|
||||
drawableObject.OnJudgementRemoved += (d, j) => OnJudgementRemoved?.Invoke(j);
|
||||
|
||||
Playfield.Add(drawableObject);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user