From c84d053b50f926ca5fb99fd71fd3a20d67f54b77 Mon Sep 17 00:00:00 2001 From: thedonkified Date: Sun, 1 Sep 2024 06:48:11 -0700 Subject: [PATCH] fix --- code/modules/mob/living/carbon/human/human_defense.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/mob/living/carbon/human/human_defense.dm b/code/modules/mob/living/carbon/human/human_defense.dm index 0c8ea94c1549..1331984dcf94 100644 --- a/code/modules/mob/living/carbon/human/human_defense.dm +++ b/code/modules/mob/living/carbon/human/human_defense.dm @@ -319,7 +319,7 @@ Contains most of the procs that are called when a mob is attacked by something var/last_damage_source = null var/last_damage_mob = null if (damage > 5) - last_damage_source = initial(AM.name) + last_damage_source = initial(thrown_atom.name) animation_flash_color(src) var/obj/item/thrown_item = thrown_object if(istype(thrown_item) && thrown_item.sharp) //Hilarious is_sharp only returns true if it's sharp AND edged, while a bunch of things don't have edge to limit embeds.