mirror of
https://github.com/ppy/osu.git
synced 2025-01-22 07:52:56 +08:00
Merge pull request #19801 from peppy/fix-collection-reimport
Fix re-importing existing collections not correctly adding new items
This commit is contained in:
commit
0769cdf050
@ -89,7 +89,7 @@ namespace osu.Game.Database
|
|||||||
|
|
||||||
if (existing != null)
|
if (existing != null)
|
||||||
{
|
{
|
||||||
foreach (string newBeatmap in existing.BeatmapMD5Hashes)
|
foreach (string newBeatmap in collection.BeatmapMD5Hashes)
|
||||||
{
|
{
|
||||||
if (!existing.BeatmapMD5Hashes.Contains(newBeatmap))
|
if (!existing.BeatmapMD5Hashes.Contains(newBeatmap))
|
||||||
existing.BeatmapMD5Hashes.Add(newBeatmap);
|
existing.BeatmapMD5Hashes.Add(newBeatmap);
|
||||||
|
Loading…
Reference in New Issue
Block a user