Merge remote-tracking branch 'ppy/master' into leaderboard-mod-filter

This commit is contained in:
naoey
2019-07-05 08:38:33 +05:30
25 changed files with 180 additions and 210 deletions

View File

@ -1,18 +0,0 @@
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Screens;
namespace osu.Game.Screens.Select
{
public class EditSongSelect : SongSelect
{
protected override bool ShowFooter => false;
protected override bool OnStart()
{
this.Exit();
return true;
}
}
}

View File

@ -105,6 +105,12 @@ namespace osu.Game.Screens.Select.Leaderboards
return null;
}
if (api?.IsLoggedIn != true)
{
PlaceholderState = PlaceholderState.NotLoggedIn;
return null;
}
if (Beatmap?.OnlineBeatmapID == null)
{
PlaceholderState = PlaceholderState.Unavailable;