mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 11:42:56 +08:00
Update beatmap leaderboard to placeholder when signing out
This commit is contained in:
parent
16ee14fd1d
commit
b9be4080d3
@ -203,8 +203,13 @@ namespace osu.Game.Online.Leaderboards
|
||||
|
||||
public void APIStateChanged(IAPIProvider api, APIState state)
|
||||
{
|
||||
if (state == APIState.Online)
|
||||
UpdateScores();
|
||||
switch (state)
|
||||
{
|
||||
case APIState.Online:
|
||||
case APIState.Offline:
|
||||
UpdateScores();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
protected void UpdateScores()
|
||||
|
Loading…
Reference in New Issue
Block a user