mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 16:43:00 +08:00
Move DrawableRuleset
binding to LoadComplete
to avoid exceptions on InputManager
access
This commit is contained in:
parent
f09a946722
commit
0988c2b0fa
@ -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 =>
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user