Apply some renames to convey difference between creation options better

This commit is contained in:
Bartłomiej Dach
2022-02-06 19:51:02 +01:00
parent a144d6f8d6
commit 6fd663a718
5 changed files with 14 additions and 9 deletions

View File

@ -113,7 +113,7 @@ namespace osu.Game.Beatmaps
/// The new difficulty will be backed by a <see cref="BeatmapInfo"/> model
/// and represented by the returned <see cref="WorkingBeatmap"/>.
/// </summary>
public virtual WorkingBeatmap CreateNewBlankDifficulty(NewDifficultyCreationParameters creationParameters)
public virtual WorkingBeatmap CreateNewDifficulty(NewDifficultyCreationParameters creationParameters)
{
var referenceBeatmap = creationParameters.ReferenceBeatmap;
var targetBeatmapSet = creationParameters.BeatmapSet;
@ -121,7 +121,7 @@ namespace osu.Game.Beatmaps
BeatmapInfo newBeatmapInfo;
IBeatmap newBeatmap;
if (creationParameters.ClearAllObjects)
if (creationParameters.CreateBlank)
{
newBeatmapInfo = new BeatmapInfo(creationParameters.Ruleset, new BeatmapDifficulty(), referenceBeatmap.Metadata.DeepClone());
newBeatmap = new Beatmap { BeatmapInfo = newBeatmapInfo };