Forgot to change the note to a hold type when making it.

Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
main
sigonasr2, Sig, Sigo 3 years ago
parent fadbf89f1e
commit 287fb0535b
  1. 1
      LLSIG/src/main/java/LLSIG/LLSIG.java

@ -399,6 +399,7 @@ public class LLSIG implements KeyListener{
Note lastNote = LLSIG.game.lanes.get(lane).lastNoteAdded;
if (lastNote!=null) {
if (noteBeat-lastNote.getBeatSnap()>=1) {
lastNote.setNoteType(NoteType.HOLD);
lastNote.setBeatSnapEnd(noteBeat);
lastNote.active2=false;
LLSIG.game.lanes.get(lane).lastNoteAdded=null;

Loading…
Cancel
Save