After you send a message to an output with the center tag, CLOSED PROPERLY, all further messages will be centered aswell, until you send a centered message that is not closed, then, future messages without the tag will not be centered.
Here is a screenshot:
https://gyazo.com/2c3357b81ed1550a205e058a928398b8
Numbered Steps to Reproduce Problem:
Send a message to an output, without any alignment tags, just to show it's working.
Send a message with the center tag, PROPERLY CLOSED.
Send a message without any alignment tags, see that it's centered anyway.
Send a message with the center tag, NOT CLOSING IT.
Send a message without any alignment tags, see that it's not centered anymore????
Code Snippet (if applicable) to Reproduce Problem:
src<<output("bla 1")//not centered (correct)
src<<output("<center>center bug</center>")//centered (correct)
src<<output("bla 2")//centered (incorrect)
src<<output("<center>stop center bug")//centered (correct)
src<<output("bla 3")//not centered (correct)
Expected Results:
Further messages outputted don't get centered just because one was and was properly closed.
Actual Results:
Every message after one was centered and properly closed get's centered aswell.
Does the problem occur:
Every time? Or how often? Every time
In other games? Yes
In other user accounts? Yes
On other computers? YEs
When does the problem NOT occur? I don't know
Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.) I don't know
Workarounds:
Not closing the tag.
If you have an environment that can produce this issue, please send me the code and I'll see if there's some contributing factor that might explain the discrepancy.