fixes a crayon runtime (#31488)

This commit is contained in:
Hayden Redacted
2026-01-26 15:02:44 +00:00
committed by GitHub
parent a40b29fe7a
commit e0da613a00
+1 -1
View File
@@ -505,7 +505,7 @@
text = replacetext(text, "\[syndielogo\]", "")
if(istype(P, /obj/item/toy/crayon))
text = "<font face=\"[crayonfont]\" color=[P ? P.colour : "black"]><b>[text]</b></font>"
text = "<font face=\"[crayonfont]\" color=[P ? P.color : "black"]><b>[text]</b></font>"
else // They are using "not a crayon" - formatting is OK and such
text = replacetext(text, "\[*\]", "<li>")
text = replacetext(text, "\[hr\]", "<HR>")