mirror of
https://github.com/ppy/osu.git
synced 2025-01-27 01:02:54 +08:00
Fix juice streams not propagating accent colours to nested objects
This commit is contained in:
parent
2a0a0e3b48
commit
7bdedf802c
@ -42,7 +42,11 @@ namespace osu.Game.Rulesets.Catch.Objects.Drawable
|
||||
|
||||
protected override void AddNested(DrawableHitObject h)
|
||||
{
|
||||
((DrawableCatchHitObject)h).CheckPosition = o => CheckPosition?.Invoke(o) ?? false;
|
||||
var catchObject = (DrawableCatchHitObject)h;
|
||||
|
||||
catchObject.CheckPosition = o => CheckPosition?.Invoke(o) ?? false;
|
||||
catchObject.AccentColour = HitObject.ComboColour;
|
||||
|
||||
dropletContainer.Add(h);
|
||||
base.AddNested(h);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user