mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 16:27:26 +08:00
Ensure intro beatmap has protected flag set
In cases this isn't set, the beatmap has likely entered a bad state. Closes https://github.com/ppy/osu/issues/17659.
This commit is contained in:
parent
6b0392f990
commit
c42ef43faa
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user