mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 16:32:54 +08:00
Correct wrong logic
`OnlineBeatmapSetID == null` was the problem
This commit is contained in:
parent
0095521fc2
commit
fe2b83279e
@ -221,8 +221,8 @@ namespace osu.Game
|
||||
return;
|
||||
}
|
||||
|
||||
var databasedSet =
|
||||
BeatmapManager.QueryBeatmapSet(s => s.OnlineBeatmapSetID == beatmap.OnlineBeatmapSetID) ??
|
||||
var databasedSet = beatmap.OnlineBeatmapSetID != null ?
|
||||
BeatmapManager.QueryBeatmapSet(s => s.OnlineBeatmapSetID == beatmap.OnlineBeatmapSetID) :
|
||||
BeatmapManager.QueryBeatmapSet(s => s.Hash == beatmap.Hash);
|
||||
|
||||
if (databasedSet != null)
|
||||
|
Loading…
Reference in New Issue
Block a user