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:
parent
bddc3121dc
commit
cc5c702a92
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user