diff --git a/code/modules/mob/living/carbon/human/examine.dm b/code/modules/mob/living/carbon/human/examine.dm index b44c857df18..a50bb60c1ce 100644 --- a/code/modules/mob/living/carbon/human/examine.dm +++ b/code/modules/mob/living/carbon/human/examine.dm @@ -178,28 +178,29 @@ for(var/named in organs) var/datum/organ/external/temp = organs[named] - if(temp.destroyed) - usr << "\red [src.name] is missing [t_his] [temp.display_name]." - if(temp.wounds) - for(var/datum/organ/external/wound/w in temp.wounds) - var/size = w.wound_size - var/sizetext - switch(size) - if(1) - sizetext = "cut" - if(2) - sizetext = "deep cut" - if(3) - sizetext = "flesh wound" - if(4) - sizetext = "gaping wound" - if(5) - sizetext = "big gaping wound" - if(6) - sizetext = "massive wound" - if(w.bleeding) - usr << "\red [src.name] is bleeding from a [sizetext] on [t_his] [temp.display_name]." - continue + if(temp) + if(temp.destroyed) + usr << "\red [src.name] is missing [t_his] [temp.display_name]." + if(temp.wounds) + for(var/datum/organ/external/wound/w in temp.wounds) + var/size = w.wound_size + var/sizetext + switch(size) + if(1) + sizetext = "cut" + if(2) + sizetext = "deep cut" + if(3) + sizetext = "flesh wound" + if(4) + sizetext = "gaping wound" + if(5) + sizetext = "big gaping wound" + if(6) + sizetext = "massive wound" + if(w.bleeding) + usr << "\red [src.name] is bleeding from a [sizetext] on [t_his] [temp.display_name]." + continue print_flavor_text()