diff --git a/osu.Game/Database/BeatmapDatabase.cs b/osu.Game/Database/BeatmapDatabase.cs index b1ef5e1649..13f76b9837 100644 --- a/osu.Game/Database/BeatmapDatabase.cs +++ b/osu.Game/Database/BeatmapDatabase.cs @@ -123,7 +123,7 @@ public void Import(IEnumerable paths) foreach (string p in paths) try { - BeatmapSetInfo set = importBeatmapSet(p); + BeatmapSetInfo set = getBeatmapSet(p); sets.Push(set); @@ -153,7 +153,13 @@ public void Import(string path) Import(new [] { path }); } - private BeatmapSetInfo importBeatmapSet(string path) + /// + /// Duplicates content from to storage and returns a representing . + /// Returns null if a representation already exists. + /// + /// Content location + /// or null + private BeatmapSetInfo getBeatmapSet(string path) { string hash = null;