diff --git a/source/Note.hx b/source/Note.hx index a3854fc5d..ad8be4920 100644 --- a/source/Note.hx +++ b/source/Note.hx @@ -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; diff --git a/source/PlayState.hx b/source/PlayState.hx index a860c3e92..6824a0507 100644 --- a/source/PlayState.hx +++ b/source/PlayState.hx @@ -2190,7 +2190,7 @@ class PlayState extends MusicBeatState altAnim = '-alt'; } - if (daNote.altNote) + if (daNote.data.altNote) altAnim = '-alt'; if (!daNote.isSustainNote) diff --git a/source/charting/ChartingState.hx b/source/charting/ChartingState.hx index 33e4be243..fdbf5a39f 100644 --- a/source/charting/ChartingState.hx +++ b/source/charting/ChartingState.hx @@ -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];