mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 08:22:56 +08:00
Fix DHO state is overwritten to Idle
on LoadComplete
The state may already be changed before `LoadComplete` is called because DHO is already added to the draw hierarchy.
This commit is contained in:
parent
468557b3a9
commit
f262f288fc
@ -190,7 +190,9 @@ namespace osu.Game.Rulesets.Objects.Drawables
|
||||
comboIndexBindable.BindValueChanged(_ => UpdateComboColour());
|
||||
comboIndexWithOffsetsBindable.BindValueChanged(_ => UpdateComboColour(), true);
|
||||
|
||||
updateState(ArmedState.Idle, true);
|
||||
// If the state is changed, transforms are already initialized.
|
||||
if (state.Value == ArmedState.Idle)
|
||||
updateState(ArmedState.Idle, true);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
Loading…
Reference in New Issue
Block a user