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 = [];