1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 06:23:21 +08:00

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()
{
if (filterTask != null)
filterTask.Cancel();
filterTask?.Cancel();
filterTask = Scheduler.AddDelayed(() =>
{
filterTask = null;