TestCase fix

This commit is contained in:
EVAST9919
2019-02-09 00:56:41 +03:00
parent 107e0a5239
commit 105053e91b
2 changed files with 8 additions and 5 deletions

View File

@ -73,6 +73,8 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
private void updateDisplay()
{
scoreTable.ClearScores();
loading = false;
var scoreCount = scores?.Count() ?? 0;
@ -80,15 +82,12 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
if (scoreCount == 0)
{
topScore.Hide();
scoreTable.ClearScores();
return;
}
topScore.Score = scores.FirstOrDefault();
topScore.Show();
scoreTable.ClearScores();
if (scoreCount < 2)
return;