mirror of
https://github.com/osukey/osukey.git
synced 2025-08-02 22:26:41 +09:00
Use both OnlineBeatmapSetID and Hash
This commit is contained in:
@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user