1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-04 05:43:42 +08:00

Fix sliders playing hitsound twice at end.

This commit is contained in:
Dean Herbert
2017-02-22 13:51:40 +09:00
Unverified
parent c65569bcbb
commit 00ddcb11b4
@@ -107,7 +107,7 @@ namespace osu.Game.Modes.Osu.Objects.Drawables
if (repeat > currentRepeat)
{
if (ball.Tracking)
if (repeat < slider.RepeatCount && ball.Tracking)
PlaySample();
currentRepeat = repeat;
}