diff --git a/code/modules/mob/living/living.dm b/code/modules/mob/living/living.dm index d18bfad4a6e..dafa78b6fe2 100644 --- a/code/modules/mob/living/living.dm +++ b/code/modules/mob/living/living.dm @@ -289,20 +289,17 @@ return /mob/living/get_photo_description(obj/item/camera/camera) - var/list/mob_details = list() var/list/holding = list() var/len = length(held_items) if(len) - for(var/obj/item/I in held_items) + for(var/obj/item/held_item in held_items) if(!holding.len) - holding += "[p_They()] [p_are()] holding \a [I]" - else if(held_items.Find(I) == len) - holding += ", and \a [I]." + holding += "[p_They()] [p_are()] holding \a [held_item]" + else if(held_items.Find(held_item) == len) + holding += ", and \a [held_item]" else - holding += ", \a [I]" - holding += "." - mob_details += "You can also see [src] on the photo[health < (maxHealth * 0.75) ? ", looking a bit hurt":""][holding ? ". [holding.Join("")]":"."]." - return mob_details.Join("") + holding += ", \a [held_item]" + return "You can also see [src] on the photo[health < (maxHealth * 0.75) ? ", looking a bit hurt":""][holding.len ? ". [holding.Join("")].":"."]" //Called when we bump onto an obj /mob/living/proc/ObjBump(obj/O) diff --git a/code/modules/photography/camera/camera.dm b/code/modules/photography/camera/camera.dm index 35462a24d86..c8159de9b34 100644 --- a/code/modules/photography/camera/camera.dm +++ b/code/modules/photography/camera/camera.dm @@ -226,7 +226,7 @@ if(person.is_face_visible()) names += "[person.name]" - var/datum/picture/picture = new("picture", desc.Join(" "), mobs_spotted, dead_spotted, names, get_icon, null, psize_x, psize_y, blueprints, can_see_ghosts = see_ghosts) + var/datum/picture/picture = new("picture", desc.Join("
"), mobs_spotted, dead_spotted, names, get_icon, null, psize_x, psize_y, blueprints, can_see_ghosts = see_ghosts) after_picture(user, picture) SEND_SIGNAL(src, COMSIG_CAMERA_IMAGE_CAPTURED, target, user, picture) blending = FALSE