Use discards.

This commit is contained in:
Huo Yaoyuan
2019-11-12 20:03:21 +08:00
parent 5f3e9a791c
commit d60493a961
4 changed files with 4 additions and 3 deletions

View File

@ -79,7 +79,7 @@ namespace osu.Game.Screens.Select
newRoot.Filter(activeCriteria);
// preload drawables as the ctor overhead is quite high currently.
var _ = newRoot.Drawables;
_ = newRoot.Drawables;
root = newRoot;
if (selectedBeatmapSet != null && !beatmapSets.Contains(selectedBeatmapSet.BeatmapSet))