1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 11:07:52 +08:00

Merge branch 'move-cache-logic-to-base-impl' into efficient-user-retrieval

This commit is contained in:
Dean Herbert 2020-11-06 17:24:36 +09:00
commit 24be1e183b

View File

@ -270,7 +270,7 @@ namespace osu.Game.Beatmaps
public readonly Mod[] OrderedMods;
public DifficultyCacheLookup([NotNull] BeatmapInfo beatmap, [NotNull] RulesetInfo ruleset, IEnumerable<Mod> mods)
public DifficultyCacheLookup([NotNull] BeatmapInfo beatmap, [CanBeNull] RulesetInfo ruleset, IEnumerable<Mod> mods)
{
Beatmap = beatmap;
// In the case that the user hasn't given us a ruleset, use the beatmap's default ruleset.