mirror of
https://github.com/ppy/osu
synced 2024-12-14 10:57:41 +00:00
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:
parent
b419d2c2e2
commit
0e821e857e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user