From b98095f8aa12f9716ed5d0cdc5560263f2a03aef Mon Sep 17 00:00:00 2001 From: Hundrec Date: Sun, 17 Aug 2025 04:36:33 +0800 Subject: [PATCH] Fix the Chart Editor character switcher whoopsie A public PR made it no longer selectable Co-Authored-By: Kolo <67389779+koloindacrib@users.noreply.github.com> --- source/funkin/ui/debug/charting/ChartEditorState.hx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/funkin/ui/debug/charting/ChartEditorState.hx b/source/funkin/ui/debug/charting/ChartEditorState.hx index 713460b4f..568a9c469 100644 --- a/source/funkin/ui/debug/charting/ChartEditorState.hx +++ b/source/funkin/ui/debug/charting/ChartEditorState.hx @@ -2821,14 +2821,14 @@ class ChartEditorState extends UIState // UIState derives from MusicBeatState // Setup character dropdowns. FlxMouseEvent.add(healthIconDad, function(_) { - if (!isCursorOverHaxeUI && persistentDraw && persistentUpdate) + if (!isCursorOverHaxeUI && this.subState == null) { this.openCharacterDropdown(CharacterType.DAD, true); } }); FlxMouseEvent.add(healthIconBF, function(_) { - if (!isCursorOverHaxeUI && persistentDraw && persistentUpdate) + if (!isCursorOverHaxeUI && this.subState == null) { this.openCharacterDropdown(CharacterType.BF, true); }