fixes flavor text not saving/displaying correctly

This commit is contained in:
TalkingCactus
2016-08-28 08:26:50 -04:00
parent bc0e10ce4c
commit ea55a53a99
4 changed files with 22 additions and 20 deletions
@@ -382,6 +382,8 @@
src << "<span class='warning'>You feel your [pocket_side] pocket being fumbled with!</span>"
..()
else
..()
///////HUDs///////
+1 -1
View File
@@ -467,7 +467,7 @@ proc/get_top_level_mob(var/mob/S)
src << "<span class='alert'>Your flavor text is likely out of date! <a href='byond://?src=\ref[src];flavor_change=1'>Change</a></span>"
/mob/proc/print_flavor_text()
if (flavor_text && flavor_text != "")
if(flavor_text && flavor_text != "")
var/msg = replacetext(flavor_text, "\n", " ")
if(lentext(msg) <= 40)
return "\blue [msg]"