1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-13 08:32:57 +08:00

Merge pull request #4468 from smoogipoo/fix-min-tick-distance

Fix ticks not being generated at the minimum tick distance
This commit is contained in:
Dean Herbert 2019-03-15 12:12:48 +09:00 committed by GitHub
commit 14af957599
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,7 +38,7 @@ namespace osu.Game.Rulesets.Objects
for (var d = tickDistance; d <= length; d += tickDistance)
{
if (d > length - minDistanceFromEnd)
if (d >= length - minDistanceFromEnd)
break;
var pathProgress = d / length;