mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 16:52:54 +08:00
removed redundant comment
This commit is contained in:
parent
76c09ae59e
commit
1dcbfab18e
@ -37,7 +37,7 @@ namespace osu.Game.Beatmaps
|
||||
// check local context for metadata so we can reuse duplicates from the same set
|
||||
var contextMetadata = context.Set<BeatmapMetadata>().Local.SingleOrDefault(e => e.Equals(beatmap.Metadata));
|
||||
if (contextMetadata != null)
|
||||
beatmap.Metadata = contextMetadata; // reuse existing
|
||||
beatmap.Metadata = contextMetadata;
|
||||
else
|
||||
context.BeatmapMetadata.Attach(beatmap.Metadata); // adding new to context
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user