1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 13:22:55 +08:00

Fix DrawableHitObject.AccentColour not being updated if object entry is not attached

This commit is contained in:
Dean Herbert 2022-11-01 19:34:53 +09:00
parent ddb3d8326e
commit f014acfc8d

View File

@ -266,6 +266,10 @@ namespace osu.Game.Rulesets.Objects.Drawables
updateState(ArmedState.Miss, true); updateState(ArmedState.Miss, true);
else else
updateState(ArmedState.Idle, true); updateState(ArmedState.Idle, true);
// Combo colour may have been applied via a bindable flow while no object entry was attached.
// Update here to ensure we're in a good state.
UpdateComboColour();
} }
} }