1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 09:27:34 +08:00

Merge pull request #13757 from peppy/fix-import-optimisation

Fix incorrect `base` call causing import optimisation to not work
This commit is contained in:
Dan Balasescu 2021-07-05 10:26:52 +09:00 committed by GitHub
commit b6542a835b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -324,7 +324,7 @@ namespace osu.Game.Beatmaps
protected override bool CanSkipImport(BeatmapSetInfo existing, BeatmapSetInfo import)
{
if (!base.CanReuseExisting(existing, import))
if (!base.CanSkipImport(existing, import))
return false;
return existing.Beatmaps.Any(b => b.OnlineBeatmapID != null);

View File

@ -353,8 +353,6 @@ namespace osu.Game.Database
{
cancellationToken.ThrowIfCancellationRequested();
delayEvents();
bool checkedExisting = false;
TModel existing = null;
@ -394,6 +392,8 @@ namespace osu.Game.Database
}
}
delayEvents();
try
{
LogForModel(item, @"Beginning import...");