mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 17:43:05 +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.NewResult += (_, r) => NewResult?.Invoke(r);
|
||||||
p.RevertResult += (_, r) => RevertResult?.Invoke(r);
|
p.RevertResult += (_, r) => RevertResult?.Invoke(r);
|
||||||
}));
|
}));
|
||||||
|
}
|
||||||
|
|
||||||
|
protected override void LoadComplete()
|
||||||
|
{
|
||||||
|
base.LoadComplete();
|
||||||
|
|
||||||
IsPaused.ValueChanged += paused =>
|
IsPaused.ValueChanged += paused =>
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user