From 2b51038be123e5db16a23797d50abecdea1506ea Mon Sep 17 00:00:00 2001 From: Cameron Taylor Date: Sat, 22 Jan 2022 16:58:59 -0500 Subject: [PATCH] alt note fuk --- source/Note.hx | 1 - source/PlayState.hx | 2 +- source/charting/ChartingState.hx | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) 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];