mirror of
https://github.com/osukey/osukey.git
synced 2025-08-06 16:13:57 +09:00
Use both OnlineBeatmapSetID and Hash
This commit is contained in:
@ -221,7 +221,9 @@ namespace osu.Game
|
|||||||
return;
|
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)
|
if (databasedSet != null)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user