mirror of
https://github.com/ppy/osu.git
synced 2026-06-03 06:09:54 +08:00
Merge pull request #5311 from Joehuu:lb-sign-out-placeholder
Update beatmap leaderboard to placeholder when signing out
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user