From 1e63e35ab4176880dbd7680b31d188c0b31d329f Mon Sep 17 00:00:00 2001 From: Erthilo Date: Wed, 27 Jun 2012 20:29:40 +0100 Subject: [PATCH] Fixes double icons in examine, and random " on his head" " on his groin" messages. --- code/modules/mob/living/carbon/human/examine.dm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/code/modules/mob/living/carbon/human/examine.dm b/code/modules/mob/living/carbon/human/examine.dm index eae2847cc90..4c1413ba5ef 100644 --- a/code/modules/mob/living/carbon/human/examine.dm +++ b/code/modules/mob/living/carbon/human/examine.dm @@ -34,8 +34,6 @@ var/t_is = "is" var/msg = "*---------*\nThis is " - if(src.icon) - msg += "\icon[src.icon] " //fucking BYOND: this should stop dreamseeker crashing if we -somehow- examine somebody before their icon is generated switch(get_visible_gender()) if(MALE) @@ -292,7 +290,7 @@ if(21 to INFINITY) wound_flavor_text["[temp.display_name]"] += pick(" a lot of burns"," severe melting") wound_flavor_text["[temp.display_name]"] += "!\n" - else if(temp.wound_descs) + else if(temp.wound_descs.len) var/list/wound_descriptors = list() for(var/time in temp.wound_descs) for(var/wound in temp.wound_descs[time])