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>
This commit is contained in:
Hundrec
2025-08-16 15:38:47 -05:00
committed by Abnormal
co-authored by Kolo
parent 724992d3b3
commit b98095f8aa
@@ -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);
}