mirror of
https://github.com/ppy/osu
synced 2025-01-01 20:02:14 +00:00
Merge pull request #17679 from peppy/ensure-intro-is-protected
Ensure intro beatmap has protected flag set
This commit is contained in:
commit
2c8fcadb97
@ -147,7 +147,7 @@ namespace osu.Game.Screens.Menu
|
|||||||
|
|
||||||
bool loadThemedIntro()
|
bool loadThemedIntro()
|
||||||
{
|
{
|
||||||
var setInfo = beatmaps.QueryBeatmapSet(b => b.Hash == BeatmapHash);
|
var setInfo = beatmaps.QueryBeatmapSet(b => b.Protected && b.Hash == BeatmapHash);
|
||||||
|
|
||||||
if (setInfo == null)
|
if (setInfo == null)
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user