mirror of
https://github.com/ppy/osu
synced 2024-12-15 03:16:17 +00:00
Cleanups
This commit is contained in:
parent
5192ee3b57
commit
f85d3665d8
@ -235,7 +235,6 @@ namespace osu.Game.Screens.OnlinePlay.Lounge
|
||||
public override void OnEntering(IScreen last)
|
||||
{
|
||||
base.OnEntering(last);
|
||||
|
||||
onReturning();
|
||||
}
|
||||
|
||||
|
@ -426,7 +426,7 @@ namespace osu.Game.Screens.OnlinePlay.Match
|
||||
/// <summary>
|
||||
/// Creates the room settings overlay.
|
||||
/// </summary>
|
||||
/// <param name="room"></param>
|
||||
/// <param name="room">The room to change the settings of.</param>
|
||||
protected abstract RoomSettingsOverlay CreateRoomSettingsOverlay(Room room);
|
||||
|
||||
private class UserModSelectOverlay : LocalPlayerModSelectOverlay
|
||||
|
@ -78,9 +78,6 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer
|
||||
if (!connected.NewValue)
|
||||
handleRoomLost();
|
||||
}, true);
|
||||
|
||||
// if (client.Room == null)
|
||||
// handleRoomLost();
|
||||
}
|
||||
|
||||
protected override Drawable CreateMainContent() => new GridContainer
|
||||
|
@ -36,9 +36,7 @@ namespace osu.Game.Screens.OnlinePlay
|
||||
public override bool OnExiting(IScreen next)
|
||||
{
|
||||
base.OnExiting(next);
|
||||
|
||||
this.FadeOut(DISAPPEAR_DURATION, Easing.OutQuint);
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
@ -51,7 +49,6 @@ namespace osu.Game.Screens.OnlinePlay
|
||||
public override void OnSuspending(IScreen next)
|
||||
{
|
||||
base.OnSuspending(next);
|
||||
|
||||
this.FadeOut(DISAPPEAR_DURATION, Easing.OutQuint);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user