diff --git a/source/funkin/menus/ui/Alphabet.hx b/source/funkin/menus/ui/Alphabet.hx index fcc82a34..f147d240 100644 --- a/source/funkin/menus/ui/Alphabet.hx +++ b/source/funkin/menus/ui/Alphabet.hx @@ -53,6 +53,13 @@ class Alphabet extends FlxSpriteGroup private function set_text(v:String):String { text = v; + + while (members.length > 0) { + var character = members[0]; + remove(character, true); + character.destroy(); + } + if (text != "") { if (typed) startTypedText();