ye no problem. I'm gonna use 18.4.3 as source here. In the DrawText part of the script, there's is this pretty big if statement, highlighted below.
This is in the function getFormattedText as I said above. The whole of that if statement is flat out useless as far as I could tell, with it only messing things up. Thus it was hit by the good ol' delete. The if statement lasts till here below, where i've marked the end. Right above that is where the function recurses
This part of the code is also in getFormattedTextFast, so you can yeet it there as well. From what I tested the game doesn't even run through that code while formatting text, but better safe than sorry. Hope this helps!
Bored of optimization yet?
in Records
Posted
ye no problem. I'm gonna use 18.4.3 as source here. In the DrawText part of the script, there's is this pretty big if statement, highlighted below.
This is in the function getFormattedText as I said above. The whole of that if statement is flat out useless as far as I could tell, with it only messing things up. Thus it was hit by the good ol' delete. The if statement lasts till here below, where i've marked the end. Right above that is where the function recurses
This part of the code is also in getFormattedTextFast, so you can yeet it there as well. From what I tested the game doesn't even run through that code while formatting text, but better safe than sorry. Hope this helps!