1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:57:39 +08:00
This commit is contained in:
Andrei Zavatski 2020-02-19 19:15:18 +03:00
parent 2ef3c78736
commit edef84d9c3

View File

@ -11,7 +11,6 @@ using osu.Framework.Graphics.Effects;
using osu.Framework.Graphics.Shapes;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Graphics.Textures;
using osu.Framework.Threading;
using osu.Game.Audio;
using osu.Game.Beatmaps;
using osu.Game.Graphics.Containers;
@ -196,10 +195,9 @@ namespace osu.Game.Overlays
{
searchSection.BeatmapSet = null;
LoadComponentAsync(new DrawableErrorHandler(hasError ? response.Error : @"... nope, nothing found."), loaded =>
{
addContentToPlaceholder(loaded);
}, (cancellationToken = new CancellationTokenSource()).Token);
LoadComponentAsync(new DrawableErrorHandler(hasError ? response.Error : @"... nope, nothing found."),
addContentToPlaceholder,
(cancellationToken = new CancellationTokenSource()).Token);
return;
}