diff --git a/source/funkin/ui/debug/charting/ChartEditorState.hx b/source/funkin/ui/debug/charting/ChartEditorState.hx index 985fa8767..16990dd1a 100644 --- a/source/funkin/ui/debug/charting/ChartEditorState.hx +++ b/source/funkin/ui/debug/charting/ChartEditorState.hx @@ -1739,6 +1739,10 @@ class ChartEditorState extends UIState // UIState derives from MusicBeatState noteTooltipsDirty = true; notePreviewViewportBoundsDirty = true; + // Switching difficulties should automatically clear the selection. + currentNoteSelection = []; + currentEventSelection = []; + switchToCurrentInstrumental(); postLoadInstrumental(); @@ -1762,6 +1766,10 @@ class ChartEditorState extends UIState // UIState derives from MusicBeatState noteTooltipsDirty = true; notePreviewViewportBoundsDirty = true; + // Switching difficulties should automatically clear the selection. + currentNoteSelection = []; + currentEventSelection = []; + return selectedDifficulty; }