From 2e10d0c3cad4500339c8e70e0dd6291be6440cd0 Mon Sep 17 00:00:00 2001 From: George Kurelic Date: Tue, 10 Dec 2024 09:15:36 -0600 Subject: [PATCH] FlxTypeText resetText to prefix (#395) --- flixel/addons/text/FlxTypeText.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flixel/addons/text/FlxTypeText.hx b/flixel/addons/text/FlxTypeText.hx index 2774ef5f..237b1c64 100644 --- a/flixel/addons/text/FlxTypeText.hx +++ b/flixel/addons/text/FlxTypeText.hx @@ -325,7 +325,7 @@ class FlxTypeText extends FlxText */ public function resetText(Text:String):Void { - text = ""; + text = prefix; _finalText = Text; _typing = false; _erasing = false;