When I close center tag in maptext, text move upper by one line.
It's happend just for <center></center> tag.
e.g. When i leave opened <font> tag, text look fine as opposed to <center> tag.
maptext="<font color=red>Hello World</font>"// it's look fine
maptext="<font color=red>Hello World"// it's also look fine
Code Snippet (if applicable) to Reproduce Problem:
#include<kaiochao/shapes/shapes.dme>
world
fps = 60
maxx = 25
maxy = 25
turf = /turf
mob = /mob
turf
icon_state = "rect"
New()
..()
color = (x + y) % 2 ? rgb(50, 50, 50) : rgb(55, 55, 55)
mob
step_size=2
Login()
..()
new/obj/mt(locate(3,3,1),"<center><b><font color=red>Hello World</font>")// What i expected
new/obj/mt(locate(6,3,1),"<center><b><font color=red>Bye World</font></center>")// buged line
obj/mt
icon_state="oval"
maptext_width=96
maptext_x=-32
New(locate, text)
..()
maptext=text
Actual Results:
Does the problem occur:
Every time? Or how often? Yes
In other games? Yes
In other user accounts? Yes
On other computers? Yes
"<span style='text-align: center;'>TEXT</span>"