diff --git a/source/funkin/ui/debug/charting/ChartEditorState.hx b/source/funkin/ui/debug/charting/ChartEditorState.hx index 14cb97c22..8058f2184 100644 --- a/source/funkin/ui/debug/charting/ChartEditorState.hx +++ b/source/funkin/ui/debug/charting/ChartEditorState.hx @@ -4377,7 +4377,7 @@ class ChartEditorState extends UIState // UIState derives from MusicBeatState else if (highlightedHoldNote != null && highlightedHoldNote.noteData != null) { // Control click to select/deselect an individual note. - if (isNoteSelected(highlightedNote.noteData)) + if (isNoteSelected(highlightedHoldNote.noteData)) { performCommand(new DeselectItemsCommand([highlightedHoldNote.noteData], [])); } @@ -4669,7 +4669,7 @@ class ChartEditorState extends UIState // UIState derives from MusicBeatState } else if (highlightedHoldNote != null && highlightedHoldNote.noteData != null) { - if (isNoteSelected(highlightedNote.noteData)) + if (isNoteSelected(highlightedHoldNote.noteData)) { performCommand(new DeselectItemsCommand([highlightedHoldNote.noteData], [])); }