From 3918bf820f6c80a1c743a19fab1b71cb8366d3d1 Mon Sep 17 00:00:00 2001 From: KadeDeveloper Date: Wed, 21 Jul 2021 03:29:26 -0700 Subject: [PATCH] m,a --- source/DiffCalc.hx | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/source/DiffCalc.hx b/source/DiffCalc.hx index 6723e3d..5022cb8 100644 --- a/source/DiffCalc.hx +++ b/source/DiffCalc.hx @@ -38,16 +38,15 @@ class DiffCalc { for (ii in i.sectionNotes) // notes { - var gottaHitNote:Bool = i.mustHitSection; - - if (ii[1] > 3) - gottaHitNote = !i.mustHitSection; - - if (gottaHitNote) + if (ii[1] > 3 && !i.mustHitSection) + cleanedNotes.push(new SmallNote(ii[0],Math.floor(Math.abs(ii[1])))); + else if (ii[1] < 4 && i.mustHitSection) cleanedNotes.push(new SmallNote(ii[0],Math.floor(Math.abs(ii[1])))); } } + trace(cleanedNotes.length + " - playable notes"); + var handOne:Array = []; var handTwo:Array = [];