mirror of
https://github.com/osukey/osukey.git
synced 2025-05-30 01:47:30 +09:00
Fix missing undelete call on using existing
This commit is contained in:
parent
9120321731
commit
f216404952
@ -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.
|
// 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.
|
// 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)))
|
if (getFilenames(existing.Files).SequenceEqual(getShortenedFilenames(archive).Select(p => p.shortened).OrderBy(f => f)))
|
||||||
|
{
|
||||||
|
Undelete(existing);
|
||||||
return existing;
|
return existing;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user