From de5c1f97076852b724d6c8e2f879244f3de7d484 Mon Sep 17 00:00:00 2001 From: "Cyril B." <53737317+Cykyrios@users.noreply.github.com> Date: Sat, 29 Mar 2025 20:21:31 +0100 Subject: [PATCH] Add missing / for center tag in __print_line_rich --- core/string/print_string.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/string/print_string.cpp b/core/string/print_string.cpp index 9d01efd802c..35b037e6eeb 100644 --- a/core/string/print_string.cpp +++ b/core/string/print_string.cpp @@ -148,7 +148,7 @@ void __print_line_rich(const String &p_string) { output += ""; } else if (tag == "center") { output += "\n\t\t\t"; - } else if (tag == "center") { + } else if (tag == "/center") { output += ""; } else if (tag == "right") { output += "\n\t\t\t\t\t\t";