Skip quick import clause when importing a single item

Closes https://github.com/ppy/osu/issues/18600.
This commit is contained in:
Dean Herbert
2022-06-14 20:34:23 +09:00
parent 7affef75b0
commit 2f8290831a
4 changed files with 81 additions and 83 deletions

View File

@ -357,7 +357,7 @@ namespace osu.Game.Beatmaps
public Task<Live<BeatmapSetInfo>?> Import(ArchiveReader archive, bool lowPriority = false, CancellationToken cancellationToken = default) => beatmapModelManager.Import(archive, lowPriority, cancellationToken);
public Live<BeatmapSetInfo>? Import(BeatmapSetInfo item, ArchiveReader? archive = null, CancellationToken cancellationToken = default) => beatmapModelManager.Import(item, archive, cancellationToken);
public Live<BeatmapSetInfo>? Import(BeatmapSetInfo item, ArchiveReader? archive = null, CancellationToken cancellationToken = default) => beatmapModelManager.Import(item, archive, false, cancellationToken);
public IEnumerable<string> HandledExtensions => beatmapModelManager.HandledExtensions;