From 82cf86f9f20c8620bfa32625f8c2f5d79a59d0a4 Mon Sep 17 00:00:00 2001 From: FernTheDev <15272073+Fernthedev@users.noreply.github.com> Date: Tue, 9 Jul 2024 23:22:43 -0400 Subject: [PATCH] Fix burst slider constructor --- src/Hooks/FakeNotes/BeatmapData.cpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/Hooks/FakeNotes/BeatmapData.cpp b/src/Hooks/FakeNotes/BeatmapData.cpp index 99f2ac1..e6d3b3d 100644 --- a/src/Hooks/FakeNotes/BeatmapData.cpp +++ b/src/Hooks/FakeNotes/BeatmapData.cpp @@ -177,12 +177,11 @@ MAKE_HOOK_MATCH(V3_BeatmapDataLoader_GetBeatmapDataFromSaveData, PARSE_ARRAY(fakeBurstSliders, Parser::DeserializeBurstSlider, [&](v3::CustomBeatmapSaveData_BurstSliderData* data) -> CustomSliderData* { return CustomSliderData_CreateCustomBurstSliderData( - ConvertColorType(data->get_colorType()), BeatToTime(data->b), data->get_headLine(), - ConvertNoteLineLayer(data->get_headLayer()), ConvertNoteLineLayer(data->get_tailLayer()), - ConvertNoteCutDirection(data->get_headCutDirection()), BeatToTime(data->get_tailBeat()), - data->get_tailLine(), ConvertNoteLineLayer(data->get_tailLayer()), - ConvertNoteLineLayer(data->get_tailLayer()), NoteCutDirection::Any, data->get_sliceCount(), - data->get_squishAmount(), data->customData); + ConvertColorType(data->colorType), BeatToTime(data->beat), data->headLine, + ConvertNoteLineLayer(data->headLayer), ConvertNoteLineLayer(data->headLayer), + ConvertNoteCutDirection(data->headCutDirection), BeatToTime(data->tailBeat), data->tailLine, + ConvertNoteLineLayer(data->tailLayer), ConvertNoteLineLayer(data->tailLayer), data->sliceCount, + data->squishAmount, data->customData); }); customBeatmap->ProcessRemainingData();