mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 08:49:59 +09: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:
@ -190,7 +190,9 @@ namespace osu.Game.Rulesets.Objects.Drawables
|
|||||||
comboIndexBindable.BindValueChanged(_ => UpdateComboColour());
|
comboIndexBindable.BindValueChanged(_ => UpdateComboColour());
|
||||||
comboIndexWithOffsetsBindable.BindValueChanged(_ => UpdateComboColour(), true);
|
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>
|
/// <summary>
|
||||||
|
Reference in New Issue
Block a user