Simplify and add null check

This commit is contained in:
Joehu
2020-07-12 12:04:53 -07:00
parent 25d2d9ba5c
commit 9c039848bc
4 changed files with 7 additions and 8 deletions

View File

@ -388,9 +388,8 @@ namespace osu.Game.Online.Leaderboards
private void getMods()
{
songSelect.ModSelect.DeselectAll(true);
songSelect.Mods.Value = score.Mods;
if (songSelect != null)
songSelect.Mods.Value = score.Mods;
}
}
}