Merge pull request #1678 from Citadel-Station-13/ExamineFix

Fixes certain people unable to be examined
This commit is contained in:
LetterJay
2017-06-19 21:02:32 -05:00
committed by GitHub

View File

@@ -25,9 +25,9 @@
if(flavor_text && flavor_text != "")
var/msg = replacetext(flavor_text, "\n", " ")
if(lentext(msg) <= 40)
return "\blue [msg]"
return "<span class='notice'>[msg]</span>"
else
return "\blue [copytext(msg, 1, 37)]... <a href='byond://?src=\ref[src];flavor_more=1'>More...</a>"
return "<span class='notice'>[copytext(msg, 1, 37)]... <a href=\"byond://?src=\ref[src];flavor_more=1\">More...</span></a>"
/mob/proc/get_top_level_mob()
if(istype(src.loc,/mob)&&src.loc!=src)