Merge pull request #17679 from peppy/ensure-intro-is-protected

Ensure intro beatmap has protected flag set
This commit is contained in:
Dan Balasescu 2022-04-06 19:06:41 +09:00 committed by GitHub
commit 2c8fcadb97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -147,7 +147,7 @@ namespace osu.Game.Screens.Menu
bool loadThemedIntro()
{
var setInfo = beatmaps.QueryBeatmapSet(b => b.Hash == BeatmapHash);
var setInfo = beatmaps.QueryBeatmapSet(b => b.Protected && b.Hash == BeatmapHash);
if (setInfo == null)
return false;