mirror of
https://github.com/osukey/osukey.git
synced 2025-05-30 09:57:21 +09:00
Fix new possible nullref inspection due to delegate initialisation in constructor
This commit is contained in:
parent
5a6636ae5c
commit
2ccf7e75b0
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user