mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 10:52:53 +08:00
Remove fixed issue
This commit is contained in:
parent
e8e093d6f2
commit
3561326306
@ -191,8 +191,6 @@ namespace osu.Game.Beatmaps
|
|||||||
var existingOnlineId = beatmaps.BeatmapSets.FirstOrDefault(b => b.OnlineBeatmapSetID == beatmapSet.OnlineBeatmapSetID);
|
var existingOnlineId = beatmaps.BeatmapSets.FirstOrDefault(b => b.OnlineBeatmapSetID == beatmapSet.OnlineBeatmapSetID);
|
||||||
if (existingOnlineId != null)
|
if (existingOnlineId != null)
|
||||||
{
|
{
|
||||||
// {Microsoft.EntityFrameworkCore.DbUpdateConcurrencyException: Database operation expected to affect 1 row(s) but actually affected 0 row(s). Data may have been modified or deleted since entities were loaded. See http://go.microsoft.com/fwlink/?LinkId=527962…}
|
|
||||||
|
|
||||||
Delete(existingOnlineId);
|
Delete(existingOnlineId);
|
||||||
beatmaps.Cleanup(s => s.ID == existingOnlineId.ID);
|
beatmaps.Cleanup(s => s.ID == existingOnlineId.ID);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user