osu: dont count hitobjects again

This commit is contained in:
MaxOhn
2021-04-17 14:28:04 +02:00
parent ed33eda909
commit 3f81f18c75
7 changed files with 36 additions and 52 deletions
+2 -2
View File
@@ -506,8 +506,8 @@ macro_rules! parse_hitobjects_body {
all(feature = "osu", not(feature = "no_sliders_no_leniency"))
)))]
{
let repeats = next_field!(split.nth(1), repeats).parse::<usize>()?;
let len: f32 = next_field!(split.next(), pixel len).parse()?;
let repeats = next_field!(split.nth(1), "repeats").parse::<usize>()?;
let len: f32 = next_field!(split.next(), "pixel len").parse()?;
HitObjectKind::Slider {
repeats,