1
0
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:
Dean Herbert 2018-06-28 22:44:40 +09:00
parent 9b789fb8b0
commit 0a945e4709

View File

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