mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Handle case where TickDistance is zero (don't draw ticks).
This commit is contained in:
@ -71,6 +71,8 @@ namespace osu.Game.Modes.Osu.Objects
|
||||
{
|
||||
get
|
||||
{
|
||||
if (TickDistance == 0) yield break;
|
||||
|
||||
var length = Curve.Length;
|
||||
var tickDistance = Math.Min(TickDistance, length);
|
||||
var repeatDuration = length / Velocity;
|
||||
|
Reference in New Issue
Block a user