mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 03:25:11 +08:00
Merge branch 'master' into fix-player-loader-song-playback
This commit is contained in:
commit
dbcf876294
@ -51,7 +51,9 @@ namespace osu.Game.Input.Bindings
|
|||||||
protected override void Dispose(bool isDisposing)
|
protected override void Dispose(bool isDisposing)
|
||||||
{
|
{
|
||||||
base.Dispose(isDisposing);
|
base.Dispose(isDisposing);
|
||||||
store.KeyBindingChanged -= ReloadMappings;
|
|
||||||
|
if (store != null)
|
||||||
|
store.KeyBindingChanged -= ReloadMappings;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void ReloadMappings() => KeyBindings = store.Query(ruleset?.ID, variant).ToList();
|
protected override void ReloadMappings() => KeyBindings = store.Query(ruleset?.ID, variant).ToList();
|
||||||
|
@ -212,6 +212,7 @@ namespace osu.Game.Rulesets.Objects.Drawables
|
|||||||
nestedHitObjects = new List<DrawableHitObject<TObject>>();
|
nestedHitObjects = new List<DrawableHitObject<TObject>>();
|
||||||
|
|
||||||
h.OnJudgement += (d, j) => OnJudgement?.Invoke(d, j);
|
h.OnJudgement += (d, j) => OnJudgement?.Invoke(d, j);
|
||||||
|
h.OnJudgementRemoved += (d, j) => OnJudgementRemoved?.Invoke(d, j);
|
||||||
nestedHitObjects.Add(h);
|
nestedHitObjects.Add(h);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -242,7 +242,7 @@ namespace osu.Game.Rulesets.UI
|
|||||||
OnJudgement?.Invoke(j);
|
OnJudgement?.Invoke(j);
|
||||||
};
|
};
|
||||||
|
|
||||||
drawableObject.OnJudgementRemoved += (d, j) => { OnJudgementRemoved?.Invoke(j); };
|
drawableObject.OnJudgementRemoved += (d, j) => OnJudgementRemoved?.Invoke(j);
|
||||||
|
|
||||||
Playfield.Add(drawableObject);
|
Playfield.Add(drawableObject);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user