Use null coalesce operator where appropriate

This commit is contained in:
Drew DeVault
2017-01-30 09:48:21 -05:00
parent 7f3cb381a9
commit 9a2cba8520

View File

@ -191,8 +191,7 @@ namespace osu.Game.Screens.Select
private void filterChanged() private void filterChanged()
{ {
if (filterTask != null) filterTask?.Cancel();
filterTask.Cancel();
filterTask = Scheduler.AddDelayed(() => filterTask = Scheduler.AddDelayed(() =>
{ {
filterTask = null; filterTask = null;