1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:57:39 +08:00

Fix missing undelete call on using existing

This commit is contained in:
Dean Herbert 2021-06-27 20:22:48 +09:00
parent 9120321731
commit f216404952

View File

@ -389,7 +389,10 @@ namespace osu.Game.Database
// note that this should really be checking filesizes on disk (of existing files) for some degree of sanity.
// or alternatively doing a faster hash check. either of these require database changes and reprocessing of existing files.
if (getFilenames(existing.Files).SequenceEqual(getShortenedFilenames(archive).Select(p => p.shortened).OrderBy(f => f)))
{
Undelete(existing);
return existing;
}
}
}