mirror of
https://github.com/ppy/osu.git
synced 2025-02-13 23:12:56 +08:00
Use both OnlineBeatmapSetID and Hash
This commit is contained in:
parent
1d5f5865aa
commit
0095521fc2
@ -221,7 +221,9 @@ namespace osu.Game
|
||||
return;
|
||||
}
|
||||
|
||||
var databasedSet = BeatmapManager.QueryBeatmapSet(s => s.Hash == beatmap.Hash);
|
||||
var databasedSet =
|
||||
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