1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 08:02:55 +08:00

Remove unnecessary depth setting.

This commit is contained in:
Dean Herbert 2017-04-06 15:36:03 +09:00
parent a18367454d
commit 7c63c8394b
No known key found for this signature in database
GPG Key ID: 46D71BF4958ABB49

View File

@ -118,7 +118,6 @@ namespace osu.Game.Screens.Play
hudOverlay = new StandardHudOverlay();
hudOverlay.KeyCounter.Add(ruleset.CreateGameplayKeys());
hudOverlay.BindProcessor(scoreProcessor);
hudOverlay.BindHitRenderer(HitRenderer);
//bind HitRenderer to ScoreProcessor and ourselves (for a pass situation)
@ -145,7 +144,6 @@ namespace osu.Game.Screens.Play
hudOverlay,
pauseOverlay = new PauseOverlay
{
Depth = -1,
OnResume = delegate
{
Delay(400);
@ -156,7 +154,6 @@ namespace osu.Game.Screens.Play
},
failOverlay = new FailOverlay
{
Depth = -1,
OnRetry = Restart,
OnQuit = Exit,
}