1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 10:33:01 +08:00

Warning fix

This commit is contained in:
Andrey Zavadskiy 2017-04-09 17:53:16 +03:00
parent 425e96c45c
commit a7264aa84c

View File

@ -60,7 +60,6 @@ namespace osu.Game.Screens.Play
private HudOverlay hudOverlay;
private PauseOverlay pauseOverlay;
private FailOverlay failOverlay;
private RetryOverlay retryOverlay;
[BackgroundDependencyLoader]
private void load(AudioManager audio, BeatmapDatabase beatmaps, OsuConfigManager config)
@ -160,7 +159,7 @@ namespace osu.Game.Screens.Play
OnRetry = Restart,
OnQuit = Exit,
},
retryOverlay = new RetryOverlay
new RetryOverlay
{
Action = Restart,
OnKeyPressed = () => Content.FadeColour(Color4.Black, 500),