ID:2520417
 
Resolved
Newline characters in maptext caused extra space to appear in many cases.
BYOND Version:513.1495
Operating System:Windows 10 Home 64-bit
Web Browser:Chrome 78.0.3904.87
Applies to:Dream Seeker
Status: Resolved (513.1496)

This issue has been resolved.
Descriptive Problem Summary:
Escaping text after a new line in maptext seems to cause issues with spacing.

Numbered Steps to Reproduce Problem:
See snippet

Code Snippet (if applicable) to Reproduce Problem:
maptext = "Name\n\<Test\>\n\<Test2\>" //not spacing as intended

maptext = "Name\nTest" //spacing as intended


maptext = "Name"
maptext += "\n<Test>\nTest2" //Test2 overlaps <Test>


Expected Results:
Spacing for the first line to be:
Name
Test
Test2

Actual Results:
Spacing for the first line is:
Name

Test
Test2

Does the problem occur:
Every time? Or how often?
In other games?
In other user accounts?
On other computers?

When does the problem NOT occur?

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.)
This is the first version of 513 I've used, but it didn't happen in 512 at all.

Workarounds:

Lummox JR resolved issue with message:
Newline characters in maptext caused extra space to appear in many cases.