mirror of https://github.com/ppy/osu
Apply all properties after cast (looks cleaner)
This commit is contained in:
parent
bddc3121dc
commit
cc5c702a92
|
@ -116,9 +116,9 @@ protected override void OnNewDrawableHitObject(DrawableHitObject drawableHitObje
|
|||
{
|
||||
base.OnNewDrawableHitObject(drawableHitObject);
|
||||
|
||||
drawableHitObject.AccentColour.Value = AccentColour;
|
||||
|
||||
DrawableManiaHitObject maniaObject = (DrawableManiaHitObject)drawableHitObject;
|
||||
|
||||
maniaObject.AccentColour.Value = AccentColour;
|
||||
maniaObject.CheckHittable = hitPolicy.IsHittable;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue