mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 21:23:04 +08:00
Revert incorrectly changed requery code
This commit is contained in:
parent
dbfaaecd9c
commit
7980bdd384
@ -286,10 +286,11 @@ namespace osu.Game.Beatmaps
|
||||
{
|
||||
if (beatmapInfo?.ID > 0 && previous != null && previous.BeatmapInfo?.ID == beatmapInfo.ID)
|
||||
return previous;
|
||||
|
||||
if (beatmapInfo?.BeatmapSet == null || beatmapInfo == DefaultBeatmap?.BeatmapInfo)
|
||||
return DefaultBeatmap;
|
||||
|
||||
if (beatmapInfo.BeatmapSet.Files == null || beatmapInfo.ID == 0)
|
||||
if (beatmapInfo.BeatmapSet.Files == null)
|
||||
{
|
||||
var info = beatmapInfo;
|
||||
beatmapInfo = QueryBeatmap(b => b.ID == info.ID);
|
||||
|
Loading…
Reference in New Issue
Block a user