diff --git a/osu.Game/Skinning/PausableSkinnableSound.cs b/osu.Game/Skinning/PausableSkinnableSound.cs
index 4b6099e85f..cb5234c847 100644
--- a/osu.Game/Skinning/PausableSkinnableSound.cs
+++ b/osu.Game/Skinning/PausableSkinnableSound.cs
@@ -67,7 +67,7 @@ namespace osu.Game.Skinning
}
}
- public override void Play()
+ public override void Play(bool restart = true)
{
cancelPendingStart();
RequestedPlaying = true;
@@ -75,7 +75,7 @@ namespace osu.Game.Skinning
if (samplePlaybackDisabled.Value)
return;
- base.Play();
+ base.Play(restart);
}
public override void Stop()
diff --git a/osu.Game/Skinning/SkinnableSound.cs b/osu.Game/Skinning/SkinnableSound.cs
index 645c08cd00..b841f99598 100644
--- a/osu.Game/Skinning/SkinnableSound.cs
+++ b/osu.Game/Skinning/SkinnableSound.cs
@@ -119,12 +119,13 @@ namespace osu.Game.Skinning
///
/// Plays the samples.
///
- public virtual void Play()
+ /// Whether to play the sample from the beginning.
+ public virtual void Play(bool restart = true)
{
samplesContainer.ForEach(c =>
{
if (PlayWhenZeroVolume || c.AggregateVolume.Value > 0)
- c.Play();
+ c.Play(restart);
});
}