mirror of
https://github.com/osukey/osukey.git
synced 2025-08-06 16:13:57 +09:00
Merge pull request #14131 from peppy/fix-constructor-possible-nullref
Fix new possible nullref inspection due to delegate initialisation in constructor
This commit is contained in:
@ -61,8 +61,6 @@ namespace osu.Game.Screens.Play
|
|||||||
protected GameplayMenuOverlay()
|
protected GameplayMenuOverlay()
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Both;
|
RelativeSizeAxes = Axes.Both;
|
||||||
|
|
||||||
State.ValueChanged += s => InternalButtons.Deselect();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
@ -142,6 +140,8 @@ namespace osu.Game.Screens.Play
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
State.ValueChanged += s => InternalButtons.Deselect();
|
||||||
|
|
||||||
updateRetryCount();
|
updateRetryCount();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user