mirror of
https://github.com/ppy/osu.git
synced 2026-05-21 01:00:27 +08:00
Fix undelete on existing not committing transaction
This commit is contained in:
@@ -387,7 +387,9 @@ namespace osu.Game.Stores
|
||||
if (CanReuseExisting(existing, item))
|
||||
{
|
||||
LogForModel(item, @$"Found existing {HumanisedModelName} for {item} (ID {existing.ID}) – skipping import.");
|
||||
|
||||
existing.DeletePending = false;
|
||||
transaction.Commit();
|
||||
|
||||
return existing.ToLive();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user