mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Hook up ImportParameter
flow with IModelImporter
caller methods
This commit is contained in:
@ -73,7 +73,7 @@ namespace osu.Game.Database
|
||||
if (originalModel != null)
|
||||
importSuccessful = (await importer.ImportAsUpdate(notification, new ImportTask(filename), originalModel)) != null;
|
||||
else
|
||||
importSuccessful = (await importer.Import(notification, new ImportTask(filename))).Any();
|
||||
importSuccessful = (await importer.Import(notification, new[] { new ImportTask(filename) })).Any();
|
||||
|
||||
// for now a failed import will be marked as a failed download for simplicity.
|
||||
if (!importSuccessful)
|
||||
|
Reference in New Issue
Block a user