1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 15:22:55 +08:00

Restart sound on play

This commit is contained in:
smoogipoo 2021-01-20 13:59:30 +09:00
parent 58269f9314
commit bdb9d4f7d0

View File

@ -124,7 +124,10 @@ namespace osu.Game.Skinning
samplesContainer.ForEach(c =>
{
if (PlayWhenZeroVolume || c.AggregateVolume.Value > 0)
{
c.Stop();
c.Play();
}
});
}