1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-02 21:40:58 +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:
Dean Herbert
2019-07-11 13:55:18 +09:00
committed by GitHub
Unverified
+7 -2
View File
@@ -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()