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:
parent
7f3cb381a9
commit
9a2cba8520
@ -191,8 +191,7 @@ namespace osu.Game.Screens.Select
|
||||
|
||||
private void filterChanged()
|
||||
{
|
||||
if (filterTask != null)
|
||||
filterTask.Cancel();
|
||||
filterTask?.Cancel();
|
||||
filterTask = Scheduler.AddDelayed(() =>
|
||||
{
|
||||
filterTask = null;
|
||||
|
Loading…
Reference in New Issue
Block a user