mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 21:43:22 +08:00
Fix scenario where import is expected to be empty
This commit is contained in:
parent
9c411c2250
commit
d41ac36a69
@ -45,6 +45,9 @@ namespace osu.Game.Beatmaps
|
||||
{
|
||||
var imported = await Import(notification, importTask);
|
||||
|
||||
if (!imported.Any())
|
||||
return imported;
|
||||
|
||||
Debug.Assert(imported.Count() == 1);
|
||||
|
||||
imported.First().PerformWrite(updated =>
|
||||
|
Loading…
Reference in New Issue
Block a user