1
0
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:
OliBomby 2024-06-06 14:50:24 +02:00
parent ba78b8759e
commit fcc8671cbd

View File

@ -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);
}); });