diff --git a/osu.Game/Rulesets/Edit/BeatmapVerifierContext.cs b/osu.Game/Rulesets/Edit/BeatmapVerifierContext.cs index 799955a0bb..f9ad9705b5 100644 --- a/osu.Game/Rulesets/Edit/BeatmapVerifierContext.cs +++ b/osu.Game/Rulesets/Edit/BeatmapVerifierContext.cs @@ -44,6 +44,16 @@ namespace osu.Game.Rulesets.Edit OtherDifficulties = otherDifficulties ?? new List(); } + public BeatmapVerifierContext(VerifiedBeatmap currentDifficulty, IReadOnlyList? otherDifficulties = null) + { + CurrentDifficulty = currentDifficulty; + InterpretedDifficulty = DifficultyRating.ExpertPlus; + OtherDifficulties = otherDifficulties ?? new List(); + } + + /// + /// Backwards-compatible constructor that allows creating a context from a single playable and working beatmap. + /// public BeatmapVerifierContext(IBeatmap beatmap, IWorkingBeatmap workingBeatmap, DifficultyRating difficultyRating = DifficultyRating.ExpertPlus) : this(new VerifiedBeatmap(workingBeatmap, beatmap), difficultyRating) {