Skip to content

Commit

Permalink
Fix GenerateTicks being lost during osu! beatmap conversion process
Browse files Browse the repository at this point in the history
  • Loading branch information
bdach committed Jul 8, 2023
1 parent a79b3d8 commit a7c32e0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion osu.Game/Rulesets/Objects/Legacy/Osu/ConvertSlider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace osu.Game.Rulesets.Objects.Legacy.Osu
/// <summary>
/// Legacy osu! Slider-type, used for parsing Beatmaps.
/// </summary>
internal sealed class ConvertSlider : Legacy.ConvertSlider, IHasPosition, IHasCombo
internal sealed class ConvertSlider : Legacy.ConvertSlider, IHasPosition, IHasCombo, IHasGenerateTicks
{
public Vector2 Position { get; set; }

Expand All @@ -20,5 +20,7 @@ internal sealed class ConvertSlider : Legacy.ConvertSlider, IHasPosition, IHasCo
public bool NewCombo { get; set; }

public int ComboOffset { get; set; }

public bool GenerateTicks { get; set; } = true;
}
}

0 comments on commit a7c32e0

Please sign in to comment.