make nextNote have a purpose

This commit is contained in:
Frakist
2023-11-02 19:27:32 +03:00
parent 0e9a5b6675
commit 25b213cccb
+2
View File
@@ -111,6 +111,8 @@ class Note extends FlxSprite
this.prevNote = prev;
else
this.prevNote = strumLine.notes.members.last();
if (this.prevNote != null) this.prevNote.nextNote = this;
this.noteTypeID = noteData.type.getDefault(0);
this.isSustainNote = sustain;
this.sustainLength = sustainLength;