1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 17:35:10 +08:00

Move DrawableRuleset binding to LoadComplete to avoid exceptions on InputManager access

This commit is contained in:
Dean Herbert 2022-03-18 15:28:48 +09:00
parent f09a946722
commit 0988c2b0fa

View File

@ -133,6 +133,11 @@ namespace osu.Game.Rulesets.UI
p.NewResult += (_, r) => NewResult?.Invoke(r);
p.RevertResult += (_, r) => RevertResult?.Invoke(r);
}));
}
protected override void LoadComplete()
{
base.LoadComplete();
IsPaused.ValueChanged += paused =>
{