mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 14:46:38 +09:00
Remove all usage of BaseDifficulty
(and access Difficulty
instead)
This commit is contained in:
@ -28,7 +28,7 @@ namespace osu.Game.Beatmaps
|
||||
difficulty = value;
|
||||
|
||||
if (beatmapInfo != null)
|
||||
beatmapInfo.BaseDifficulty = difficulty.Clone();
|
||||
beatmapInfo.Difficulty = difficulty.Clone();
|
||||
}
|
||||
}
|
||||
|
||||
@ -41,8 +41,8 @@ namespace osu.Game.Beatmaps
|
||||
{
|
||||
beatmapInfo = value;
|
||||
|
||||
if (beatmapInfo?.BaseDifficulty != null)
|
||||
Difficulty = beatmapInfo.BaseDifficulty.Clone();
|
||||
if (beatmapInfo?.Difficulty != null)
|
||||
Difficulty = beatmapInfo.Difficulty.Clone();
|
||||
}
|
||||
}
|
||||
|
||||
@ -57,7 +57,7 @@ namespace osu.Game.Beatmaps
|
||||
AuthorString = @"Unknown Creator",
|
||||
},
|
||||
DifficultyName = @"Normal",
|
||||
BaseDifficulty = Difficulty,
|
||||
Difficulty = Difficulty,
|
||||
};
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user