mirror of
https://github.com/osukey/osukey.git
synced 2025-05-09 15:47:38 +09: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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
var databasedSet =
|
var databasedSet = beatmap.OnlineBeatmapSetID != null ?
|
||||||
BeatmapManager.QueryBeatmapSet(s => s.OnlineBeatmapSetID == beatmap.OnlineBeatmapSetID) ??
|
BeatmapManager.QueryBeatmapSet(s => s.OnlineBeatmapSetID == beatmap.OnlineBeatmapSetID) :
|
||||||
BeatmapManager.QueryBeatmapSet(s => s.Hash == beatmap.Hash);
|
BeatmapManager.QueryBeatmapSet(s => s.Hash == beatmap.Hash);
|
||||||
|
|
||||||
if (databasedSet != null)
|
if (databasedSet != null)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user