Fix incorrect usage of InternalChildren

Could cause overwriting of components added by base DrawableHitObjcet class (such as samples)
This commit is contained in:
Dean Herbert
2019-03-25 13:47:28 +09:00
parent c97116c91a
commit 39df8cce19
10 changed files with 22 additions and 28 deletions

View File

@ -26,10 +26,7 @@ namespace osu.Game.Rulesets.Catch.Objects.Drawable
[BackgroundDependencyLoader]
private void load()
{
InternalChild = pulp = new Pulp
{
Size = Size
};
AddInternal(pulp = new Pulp { Size = Size });
}
public override Color4 AccentColour