mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 17:47:29 +08:00
Add safety against DrawableHitObject implementations clearing children
This commit is contained in:
parent
1155dba195
commit
c97116c91a
@ -120,6 +120,8 @@ namespace osu.Game.Rulesets.Objects.Drawables
|
||||
}
|
||||
}
|
||||
|
||||
protected override void ClearInternal(bool disposeChildren = true) => throw new InvalidOperationException($"Should never clear a {nameof(DrawableHitObject)}");
|
||||
|
||||
protected override void LoadComplete()
|
||||
{
|
||||
base.LoadComplete();
|
||||
|
Loading…
Reference in New Issue
Block a user