mirror of
https://github.com/ppy/osu.git
synced 2026-05-18 14:50:54 +08:00
Move DrawableRuleset binding to LoadComplete to avoid exceptions on InputManager access
This commit is contained in:
@@ -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 =>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user