From 5f5878e37e889a126dc5f3084e123a1c0efe02ce Mon Sep 17 00:00:00 2001 From: smoogipoo Date: Fri, 10 Jan 2020 11:55:47 +0900 Subject: [PATCH] Dereference existing file --- osu.Game/Database/ArchiveModelManager.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/osu.Game/Database/ArchiveModelManager.cs b/osu.Game/Database/ArchiveModelManager.cs index fb64a4da15..66e1b43e58 100644 --- a/osu.Game/Database/ArchiveModelManager.cs +++ b/osu.Game/Database/ArchiveModelManager.cs @@ -375,6 +375,8 @@ namespace osu.Game.Database FileInfo = Files.Add(contents) }); + Files.Dereference(file.FileInfo); + Update(model); } }