Merge pull request #13609 from AnturK/runtimes

Fixes for few runtime errors
This commit is contained in:
tkdrg
2015-12-16 04:15:21 -03:00
5 changed files with 11 additions and 8 deletions
+2 -1
View File
@@ -198,6 +198,7 @@
t = "<font face=\"[PEN_FONT]\" color=[P.colour]>[t]</font>"
else // If it is a crayon, and he still tries to use these, make them empty!
var/obj/item/toy/crayon/C = P
t = replacetext(t, "\[*\]", "")
t = replacetext(t, "\[hr\]", "")
t = replacetext(t, "\[small\]", "")
@@ -205,7 +206,7 @@
t = replacetext(t, "\[list\]", "")
t = replacetext(t, "\[/list\]", "")
t = "<font face=\"[CRAYON_FONT]\" color=[P.colour]><b>[t]</b></font>"
t = "<font face=\"[CRAYON_FONT]\" color=[C.paint_color]><b>[t]</b></font>"
// t = replacetext(t, "#", "") // Junk converted to nothing!