mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 10:52:53 +08:00
Remove unnecessary clone operations
This commit is contained in:
parent
7dd7d35fc8
commit
d3efec3c04
@ -119,9 +119,6 @@ namespace osu.Game.Beatmaps
|
||||
// Apply difficulty mods
|
||||
if (mods.Any(m => m is IApplicableToDifficulty))
|
||||
{
|
||||
converted.BeatmapInfo = converted.BeatmapInfo.Clone();
|
||||
converted.Difficulty = converted.Difficulty.Clone();
|
||||
|
||||
foreach (var mod in mods.OfType<IApplicableToDifficulty>())
|
||||
{
|
||||
if (cancellationSource.IsCancellationRequested)
|
||||
|
Loading…
Reference in New Issue
Block a user