mirror of
https://github.com/ppy/osu.git
synced 2024-11-15 01:57:51 +08:00
undo useless change
This commit is contained in:
parent
ba78b8759e
commit
fcc8671cbd
@ -226,9 +226,7 @@ namespace osu.Game.Screens.Edit.Compose.Components
|
|||||||
if (h.Samples.Any(s => s.Name == sampleName))
|
if (h.Samples.Any(s => s.Name == sampleName))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
var sampleToAdd = h.CreateHitSampleInfo(sampleName);
|
h.Samples.Add(h.CreateHitSampleInfo(sampleName));
|
||||||
|
|
||||||
h.Samples.Add(sampleToAdd);
|
|
||||||
|
|
||||||
EditorBeatmap.Update(h);
|
EditorBeatmap.Update(h);
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user