mirror of
https://github.com/ppy/osu
synced 2024-12-15 11:25:29 +00:00
Split variable for readability
This commit is contained in:
parent
1d7be6a604
commit
bb0d289993
@ -426,7 +426,8 @@ namespace osu.Game
|
||||
{
|
||||
var imports = tasks.Where(t => t.Path.EndsWith(ext, StringComparison.OrdinalIgnoreCase));
|
||||
|
||||
return fileImporters.FirstOrDefault(i => i.HandledExtensions.Contains(ext))?.Import(imports.ToArray()) ?? Task.CompletedTask;
|
||||
var importer = fileImporters.FirstOrDefault(i => i.HandledExtensions.Contains(ext));
|
||||
return importer?.Import(imports.ToArray()) ?? Task.CompletedTask;
|
||||
}));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user