Fix sliders playing hitsound twice at end.

This commit is contained in:
Dean Herbert 2017-02-22 13:51:40 +09:00
parent c65569bcbb
commit 00ddcb11b4
No known key found for this signature in database
GPG Key ID: 46D71BF4958ABB49

View File

@ -107,7 +107,7 @@ namespace osu.Game.Modes.Osu.Objects.Drawables
if (repeat > currentRepeat) if (repeat > currentRepeat)
{ {
if (ball.Tracking) if (repeat < slider.RepeatCount && ball.Tracking)
PlaySample(); PlaySample();
currentRepeat = repeat; currentRepeat = repeat;
} }