Remove unnecessary duplicated skin changed handling

For some reason we were handling this both in `DrawableSkinnableSound`
and `PoolableSkinnableSample` in very similar ways. Only one seems
required.
This commit is contained in:
Dean Herbert 2021-03-19 15:23:31 +09:00
parent b419d2c2e2
commit 0e821e857e

View File

@ -139,12 +139,6 @@ namespace osu.Game.Skinning
samplesContainer.ForEach(c => c.Stop());
}
protected override void SkinChanged(ISkinSource skin, bool allowFallback)
{
base.SkinChanged(skin, allowFallback);
updateSamples();
}
private void updateSamples()
{
bool wasPlaying = IsPlaying;