mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 06:33:20 +08:00
Fix undelete on existing not committing transaction
This commit is contained in:
parent
d73e81ee63
commit
2ee08b5f4c
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user