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

Remove unused stuff

This commit is contained in:
Oskar Solecki 2019-07-09 00:26:57 +02:00 committed by GitHub
parent 52b54506c6
commit 8f7476e9cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -168,8 +168,6 @@ namespace osu.Game.Screens.Edit
menuBar.Mode.ValueChanged += onModeChanged; menuBar.Mode.ValueChanged += onModeChanged;
host.Exiting += onExitingGame;
bottomBackground.Colour = colours.Gray2; bottomBackground.Colour = colours.Gray2;
} }
@ -237,8 +235,6 @@ namespace osu.Game.Screens.Edit
Beatmap.Value.Track?.Stop(); Beatmap.Value.Track?.Stop();
} }
private bool isExitingGame = false;
public override bool OnExiting(IScreen next) public override bool OnExiting(IScreen next)
{ {
Background.FadeColour(Color4.White, 500); Background.FadeColour(Color4.White, 500);
@ -279,7 +275,5 @@ namespace osu.Game.Screens.Edit
else else
clock.SeekForward(!clock.IsRunning, amount); clock.SeekForward(!clock.IsRunning, amount);
} }
private bool onExitingGame() => isExitingGame = true;
} }
} }