alt note fuk

This commit is contained in:
Cameron Taylor 2022-01-22 16:58:59 -05:00
parent 6fec9e2c7e
commit 2b51038be1
3 changed files with 2 additions and 3 deletions

View file

@ -32,7 +32,6 @@ class Note extends FlxSprite
private var willMiss:Bool = false;
public var altNote:Bool = false;
public var invisNote:Bool = false;
public var sustainLength:Float = 0;

View file

@ -2190,7 +2190,7 @@ class PlayState extends MusicBeatState
altAnim = '-alt';
}
if (daNote.altNote)
if (daNote.data.altNote)
altAnim = '-alt';
if (!daNote.isSustainNote)

View file

@ -1262,7 +1262,7 @@ class ChartingState extends MusicBeatState
var daNewNote:Note = new Note(noteStrum, noteData);
daNewNote.sustainLength = noteSus;
daNewNote.altNote = noteAlt;
daNewNote.data.altNote = noteAlt;
SongLoad.getSong()[curSection].sectionNotes.push(daNewNote.data);
curSelectedNote = SongLoad.getSong()[curSection].sectionNotes[SongLoad.getSong()[curSection].sectionNotes.length - 1];