mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 08:02:55 +08:00
Fix reversed checks
This commit is contained in:
parent
7508592789
commit
37e2579244
@ -169,7 +169,7 @@ namespace osu.Game.Online.Leaderboards
|
||||
throw new InvalidOperationException($"State {state} cannot be set by a leaderboard implementation.");
|
||||
}
|
||||
|
||||
Debug.Assert(scores.Any());
|
||||
Debug.Assert(!scores.Any());
|
||||
|
||||
setState(state);
|
||||
}
|
||||
@ -258,7 +258,7 @@ namespace osu.Game.Online.Leaderboards
|
||||
.Expire();
|
||||
scoreFlowContainer = null;
|
||||
|
||||
if (scores.Any())
|
||||
if (!scores.Any())
|
||||
{
|
||||
setState(LeaderboardState.NoScores);
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user