From 4cb198fe05060a3842abfd0fb7a6043e947ea7e9 Mon Sep 17 00:00:00 2001 From: keronshb Date: Sat, 11 Sep 2021 17:38:32 -0400 Subject: [PATCH] Fixes Hitby runtime --- code/modules/mob/living/living_defense.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/mob/living/living_defense.dm b/code/modules/mob/living/living_defense.dm index 2888507baa..7423a164a4 100644 --- a/code/modules/mob/living/living_defense.dm +++ b/code/modules/mob/living/living_defense.dm @@ -118,7 +118,7 @@ throwpower = I.throwforce var/impacting_zone = ran_zone(BODY_ZONE_CHEST, 65)//Hits a random part of the body, geared towards the chest var/list/block_return = list() - var/total_damage = I.throwforce + var/total_damage = AM.throwforce if(mob_run_block(AM, throwpower, "\the [AM.name]", ATTACK_TYPE_THROWN, 0, throwingdatum?.thrower, impacting_zone, block_return) & BLOCK_SUCCESS) hitpush = FALSE skipcatch = TRUE