mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 10:12:54 +08:00
Add log method for new flow
This commit is contained in:
parent
f470b7095d
commit
e755dcc34d
@ -374,6 +374,7 @@ namespace osu.Game.Database
|
||||
// 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)))
|
||||
{
|
||||
LogForModel(item, $"Found existing (optimised) {HumanisedModelName} for {item} (ID {existing.ID}) – skipping import.");
|
||||
Undelete(existing);
|
||||
return existing;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user