1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-18 02:49:53 +08:00

Fix scenario where import is expected to be empty

This commit is contained in:
Dean Herbert
2022-07-25 23:59:25 +09:00
Unverified
parent 9c411c2250
commit d41ac36a69
+3
View File
@@ -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 =>