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:
parent
58269f9314
commit
bdb9d4f7d0
@ -124,7 +124,10 @@ namespace osu.Game.Skinning
|
||||
samplesContainer.ForEach(c =>
|
||||
{
|
||||
if (PlayWhenZeroVolume || c.AggregateVolume.Value > 0)
|
||||
{
|
||||
c.Stop();
|
||||
c.Play();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user