Merge pull request #21059 from peppy/fix-combo-colour-application

Fix `DrawableHitObject.AccentColour` not being updated if object entry is not attached
This commit is contained in:
Dan Balasescu 2022-11-01 20:21:17 +09:00 committed by GitHub
commit 3fa529c27a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -266,6 +266,10 @@ namespace osu.Game.Rulesets.Objects.Drawables
updateState(ArmedState.Miss, true);
else
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();
}
}