1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Merge pull request #104774 from Cykyrios/fix-center-bbcode-ansi-tag

Add missing "/" to "center" tag in `__print_line_rich()`
This commit is contained in:
Thaddeus Crews
2025-04-15 12:28:44 -05:00

View File

@@ -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";