mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 23:24:04 +09:00
Simplify and add null check
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user