1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-21 02:59:53 +08:00

Fix undelete on existing not committing transaction

This commit is contained in:
Dean Herbert
2021-11-26 19:05:34 +09:00
Unverified
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();
}