Fix 0-length sliders not getting correct lengths

This commit is contained in:
smoogipoo
2019-06-15 23:53:28 +09:00
parent c46ddb5a5d
commit 2e7922c3f9
5 changed files with 16 additions and 8 deletions

View File

@ -26,7 +26,8 @@ namespace osu.Game.Rulesets.Objects.Legacy.Mania
};
}
protected override HitObject CreateSlider(Vector2 position, bool newCombo, int comboOffset, Vector2[] controlPoints, double length, PathType pathType, int repeatCount, List<List<SampleInfo>> nodeSamples)
protected override HitObject CreateSlider(Vector2 position, bool newCombo, int comboOffset, Vector2[] controlPoints, double? length, PathType pathType, int repeatCount,
List<List<SampleInfo>> nodeSamples)
{
return new ConvertSlider
{