mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Refactor SkinnableSound.Samples
to be non-nullable
This commit is contained in:
@ -303,8 +303,7 @@ namespace osu.Game.Rulesets.Objects.Drawables
|
||||
samplesBindable.CollectionChanged -= onSamplesChanged;
|
||||
|
||||
// Release the samples for other hitobjects to use.
|
||||
if (Samples != null)
|
||||
Samples.Samples = null;
|
||||
Samples?.ClearSamples();
|
||||
|
||||
foreach (var obj in nestedHitObjects)
|
||||
{
|
||||
|
Reference in New Issue
Block a user