mirror of
https://github.com/osukey/osukey.git
synced 2025-08-08 00:53:56 +09:00
Invert condition
This commit is contained in:
@ -225,8 +225,9 @@ namespace osu.Game.Tournament
|
|||||||
{
|
{
|
||||||
foreach (var b in r.Beatmaps.ToList())
|
foreach (var b in r.Beatmaps.ToList())
|
||||||
{
|
{
|
||||||
if (b.BeatmapInfo == null)
|
if (b.BeatmapInfo != null)
|
||||||
{
|
continue;
|
||||||
|
|
||||||
if (b.ID > 0)
|
if (b.ID > 0)
|
||||||
{
|
{
|
||||||
var req = new GetBeatmapRequest(new BeatmapInfo { OnlineBeatmapID = b.ID });
|
var req = new GetBeatmapRequest(new BeatmapInfo { OnlineBeatmapID = b.ID });
|
||||||
@ -241,7 +242,6 @@ namespace osu.Game.Tournament
|
|||||||
r.Beatmaps.Remove(b);
|
r.Beatmaps.Remove(b);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
return addedInfo;
|
return addedInfo;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user