diff --git a/source/PlayState.hx b/source/PlayState.hx index 4e3a832..b8912e2 100644 --- a/source/PlayState.hx +++ b/source/PlayState.hx @@ -1421,7 +1421,7 @@ class PlayState extends MusicBeatState dataNotes.sort((a, b) -> Std.int(a.strumTime - b.strumTime)); // sort by the earliest note - + if (dataNotes.length != 0) { var coolNote = dataNotes[0]; @@ -1594,6 +1594,18 @@ class PlayState extends MusicBeatState swagNote.sustainLength = songNotes[2]; swagNote.scrollFactor.set(0, 0); + var addNote = false; + + for (i in unspawnNotes) + if (i.strumTime == daStrumTime && i.noteData == daNoteData) + addNote = true; + + if (addNote) + { + trace('stacked note, thats cringe'); + continue; + } + var susLength:Float = swagNote.sustainLength; susLength = susLength / Conductor.stepCrochet;