mirror of
https://github.com/ppy/osu
synced 2025-02-15 17:47:28 +00:00
Remove no-longer-necessary play trigger on skin change
This commit is contained in:
parent
c803d88e22
commit
ee05d5cb14
@ -39,10 +39,6 @@ namespace osu.Game.Screens.Play
|
|||||||
Looping = true,
|
Looping = true,
|
||||||
});
|
});
|
||||||
|
|
||||||
// PopIn is called before updating the skin, and when a sample is updated, its "playing" value is reset
|
|
||||||
// the sample must be played again
|
|
||||||
pauseLoop.OnSkinChanged += () => pauseLoop.Play();
|
|
||||||
|
|
||||||
// SkinnableSound only plays a sound if its aggregate volume is > 0, so the volume must be turned up before playing it
|
// SkinnableSound only plays a sound if its aggregate volume is > 0, so the volume must be turned up before playing it
|
||||||
pauseLoop.VolumeTo(minimum_volume);
|
pauseLoop.VolumeTo(minimum_volume);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user