mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
Update state after OnApply()
This commit is contained in:
@ -197,11 +197,12 @@ namespace osu.Game.Rulesets.Objects.Drawables
|
|||||||
|
|
||||||
HitObject.DefaultsApplied += onDefaultsApplied;
|
HitObject.DefaultsApplied += onDefaultsApplied;
|
||||||
|
|
||||||
|
OnApply(hitObject);
|
||||||
|
|
||||||
// If not loaded, the state update happens in LoadComplete(). Otherwise, the update is scheduled to allow for lifetime updates.
|
// If not loaded, the state update happens in LoadComplete(). Otherwise, the update is scheduled to allow for lifetime updates.
|
||||||
if (IsLoaded)
|
if (IsLoaded)
|
||||||
Schedule(() => updateState(ArmedState.Idle, true));
|
Schedule(() => updateState(ArmedState.Idle, true));
|
||||||
|
|
||||||
OnApply(hitObject);
|
|
||||||
hasHitObjectApplied = true;
|
hasHitObjectApplied = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user