mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 03:22:55 +08:00
Load nested hitobjects during map load
This commit is contained in:
parent
d2aaba3918
commit
5f98195144
@ -129,9 +129,9 @@ namespace osu.Game.Rulesets.Objects.Drawables
|
||||
LoadSamples();
|
||||
}
|
||||
|
||||
protected override void LoadComplete()
|
||||
protected override void LoadAsyncComplete()
|
||||
{
|
||||
base.LoadComplete();
|
||||
base.LoadAsyncComplete();
|
||||
|
||||
HitObject.DefaultsApplied += onDefaultsApplied;
|
||||
|
||||
@ -148,6 +148,11 @@ namespace osu.Game.Rulesets.Objects.Drawables
|
||||
samplesBindable.CollectionChanged += (_, __) => LoadSamples();
|
||||
|
||||
apply(HitObject);
|
||||
}
|
||||
|
||||
protected override void LoadComplete()
|
||||
{
|
||||
base.LoadComplete();
|
||||
|
||||
updateState(ArmedState.Idle, true);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user