rolls are weird

This commit is contained in:
KadeDeveloper 2021-07-19 22:51:07 -07:00
parent 15fe4c0666
commit 9acefccae5

View File

@ -191,7 +191,6 @@ class SMFile
//output += " - Row " + noteRow + " - Time: " + rowTime + " (" + timeInSec + ") - Beat: " + currentBeat + " - Current BPM: " + header.getBPM(currentBeat) + "\n"; //output += " - Row " + noteRow + " - Time: " + rowTime + " (" + timeInSec + ") - Beat: " + currentBeat + " - Current BPM: " + header.getBPM(currentBeat) + "\n";
var index = 0; var index = 0;
var takeover = false;
for(i in notes) for(i in notes)
{ {
@ -216,7 +215,7 @@ class SMFile
var timeDiff = rowTime - data[0]; var timeDiff = rowTime - data[0];
section.sectionNotes.push([data[0],lane,timeDiff]); section.sectionNotes.push([data[0],lane,timeDiff]);
heldNotes[index] = []; heldNotes[index] = [];
case 4: case 4: // roll head
heldNotes[lane] = [rowTime,lane,0]; heldNotes[lane] = [rowTime,lane,0];
} }
index++; index++;