When maptext variable is not altered in any way:
When maptext gets set to anything such as in the code example below:
Chat Box.dmi contains a 1pixel by 1 pixel color I'm stretching to make the chatbox.
Code Snippet (if applicable) to Reproduce Problem:
/*
The object that will be stretched and overlayed on the
client's screen.
*/
ChatBox
parent_type = /obj
icon = 'Chat Box.dmi'
icon_state = "Chat Box"
// By default (Pixel Values)
var
// Start at the lower left-hand corner
screen_x = 16
screen_y = 16
// Stretch across the screen
screen_width = 440
screen_height = 140
// OFFENDING LINE
maptext = "Testing 1 2 3 4 4 5 6 7"
New()
..()
Resize()
proc
Resize()
screen_loc = "1:[screen_x],1:[screen_y]"
var/matrix/myTransform = matrix()
myTransform.Translate(0.5,0.5)
myTransform.Scale(screen_width,screen_height)
transform = myTransform
maptext_width = screen_width
maptext_height = screen_height
/*
When the client connects add the chatbox to the screen
and save it for later reference.
*/
client
var
ChatBox/chatBox = new/ChatBox()
New()
..()
screen.Add(chatBox)