Apply all properties after cast (looks cleaner)

This commit is contained in:
Dean Herbert 2021-05-19 17:31:47 +09:00
parent bddc3121dc
commit cc5c702a92
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}