Describe the bug
If text used in TextObject contains more [ than ] (so, there are some [ that are not matched), CYF will freeze up and go unresponsive when trying to display it. This doesn't happen for encounter or enemy text.
Code To Reproduce
CreateText({"[abc"}, {320, 240}, 150)
Expected behavior
Not only shouldn't it freeze up, but it shouldn't throw any error at all. It should simply display the [ and the following text, just like it does in encounter/enemy text.
Describe the bug If text used in TextObject contains more
[
than]
(so, there are some[
that are not matched), CYF will freeze up and go unresponsive when trying to display it. This doesn't happen for encounter or enemy text.Code To Reproduce
Expected behavior Not only shouldn't it freeze up, but it shouldn't throw any error at all. It should simply display the
[
and the following text, just like it does in encounter/enemy text.Setup: