mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +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
|
get
|
||||||
{
|
{
|
||||||
|
if (TickDistance == 0) yield break;
|
||||||
|
|
||||||
var length = Curve.Length;
|
var length = Curve.Length;
|
||||||
var tickDistance = Math.Min(TickDistance, length);
|
var tickDistance = Math.Min(TickDistance, length);
|
||||||
var repeatDuration = length / Velocity;
|
var repeatDuration = length / Velocity;
|
||||||
|
Reference in New Issue
Block a user