public override IEnumerable <Issue> GetIssues(BeatmapSet beatmapSet) { beatmapSet.beatmaps.ForEach(beatmap => { var calculatedBeatmap = BeatmapDistanceCalculator.Calculate(beatmap); SetBeatmaps.TryRemove(beatmap.metadataSettings.version, out var catchObjects); SetBeatmaps.TryAdd(beatmap.metadataSettings.version, calculatedBeatmap); }); yield break; }
public override IEnumerable <Issue> GetIssues(BeatmapSet beatmapSet) { beatmapSet.beatmaps.ForEach(beatmap => { var calculatedBeatmap = BeatmapDistanceCalculator.Calculate(beatmap); var beatmapIdentifier = BeatmapUtil.GetBeatmapIdentifier(beatmap); CatchBeatmaps.TryRemove(beatmapIdentifier, out _); CatchBeatmaps.TryAdd(beatmapIdentifier, calculatedBeatmap); }); yield break; }