Invert condition

This commit is contained in:
smoogipoo
2020-01-20 11:48:56 +09:00
parent 55ed823c88
commit 43f144cd6a

View File

@ -225,8 +225,9 @@ namespace osu.Game.Tournament
{
foreach (var b in r.Beatmaps.ToList())
{
if (b.BeatmapInfo == null)
{
if (b.BeatmapInfo != null)
continue;
if (b.ID > 0)
{
var req = new GetBeatmapRequest(new BeatmapInfo { OnlineBeatmapID = b.ID });
@ -241,7 +242,6 @@ namespace osu.Game.Tournament
r.Beatmaps.Remove(b);
}
}
}
return addedInfo;
}