1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 11:07:52 +08:00

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

View File

@ -116,9 +116,9 @@ namespace osu.Game.Rulesets.Mania.UI
{
base.OnNewDrawableHitObject(drawableHitObject);
drawableHitObject.AccentColour.Value = AccentColour;
DrawableManiaHitObject maniaObject = (DrawableManiaHitObject)drawableHitObject;
maniaObject.AccentColour.Value = AccentColour;
maniaObject.CheckHittable = hitPolicy.IsHittable;
}