mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 09:32:55 +08:00
Check whether initialised first
This commit is contained in:
parent
9b789fb8b0
commit
0a945e4709
@ -93,6 +93,7 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
|
||||
base.AccentColour = value;
|
||||
Body.AccentColour = AccentColour;
|
||||
Ball.AccentColour = AccentColour;
|
||||
if (HasNestedHitObjects)
|
||||
foreach (var drawableHitObject in NestedHitObjects)
|
||||
drawableHitObject.AccentColour = AccentColour;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user