1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-15 11:02:57 +08:00

One more missed usage..

This commit is contained in:
Dean Herbert 2021-11-15 16:02:08 +09:00
parent 73cb80d8a4
commit 1988b263c6

View File

@ -36,7 +36,7 @@ namespace osu.Game.Screens.OnlinePlay.Playlists
if (!Beatmap.Value.BeatmapInfo.MatchesOnlineID(PlaylistItem.Beatmap.Value))
throw new InvalidOperationException("Current Beatmap does not match PlaylistItem's Beatmap");
if (ruleset.Value.ID != PlaylistItem.Ruleset.Value.ID)
if (!ruleset.Value.MatchesOnlineID(PlaylistItem.Ruleset.Value))
throw new InvalidOperationException("Current Ruleset does not match PlaylistItem's Ruleset");
if (!PlaylistItem.RequiredMods.All(m => Mods.Value.Any(m.Equals)))