mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 20:13:21 +08:00
Remove multiple cases of excess braces
This commit is contained in:
parent
209bc3c1ed
commit
3a861fd943
@ -23,21 +23,15 @@ namespace osu.Game.Rulesets.Edit.Checks
|
||||
int previewTime = context.Beatmap.BeatmapInfo.Metadata.PreviewTime;
|
||||
|
||||
if (previewTime == -1)
|
||||
{
|
||||
yield return new IssueTemplateHasNoPreviewTime(this).Create();
|
||||
}
|
||||
|
||||
foreach (var diff in diffList)
|
||||
{
|
||||
if (diff.Equals(context.Beatmap.BeatmapInfo))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
if (diff.Metadata.PreviewTime != previewTime)
|
||||
{
|
||||
yield return new IssueTemplatePreviewTimeConflict(this).Create(diff.DifficultyName, previewTime, diff.Metadata.PreviewTime);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user