October 20, 2019
Hello! I can’t understand ... My dialogue code is not working as it should! He must, if the texture does not exceed the maximum value, add a character, otherwise go to a new line until the text ends. But he constantly makes the transition to a new line. Either I'm stupid, or something is wrong. If something is not clear, knock! Preferably by mail: tod.naz@ya.ru

Code:
>https://pastebin.com/tDtUnjYu
October 20, 2019
On Sunday, 20 October 2019 at 08:41:19 UTC, TodNaz wrote:
> Hello! I can’t understand ... My dialogue code is not working as it should! He must, if the texture does not exceed the maximum value, add a character, otherwise go to a new line until the text ends. But he constantly makes the transition to a new line. Either I'm stupid, or something is wrong. If something is not clear, knock! Preferably by mail: tod.naz@ya.ru
>
> Code:
>>https://pastebin.com/tDtUnjYu

Sorry but I think no one here will just take a look at your project and search where the problem is.

If you could create a minimal code that shows the code that behaves differently of what u expect, i´m sure that everyone here will be glad to help out :)