From 1b91ab7600a44a8953b5bf65520dea36c8e551b0 Mon Sep 17 00:00:00 2001 From: "Marcus D. Johnston" <93160383+Aurrain@users.noreply.github.com> Date: Wed, 17 Apr 2024 08:29:51 -0700 Subject: [PATCH] Ultradense - Mobs Only Makes it not able to blast walls and doors around. --- code/modules/projectiles/projectile/bullets/rifle.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/projectiles/projectile/bullets/rifle.dm b/code/modules/projectiles/projectile/bullets/rifle.dm index db9d4b55d81..96edd9898c2 100644 --- a/code/modules/projectiles/projectile/bullets/rifle.dm +++ b/code/modules/projectiles/projectile/bullets/rifle.dm @@ -1100,8 +1100,8 @@ /obj/item/projectile/bullet/c4570/knockback/on_hit(atom/target, blocked = FALSE) . = ..() - if(ismovable(target) && prob(50)) - var/atom/movable/M = target + if(isliving(target) && prob(50)) + var/mob/living/M = target var/atom/throw_target = get_edge_target_turf(M, get_dir(src, get_step_away(M, src))) M.safe_throw_at(throw_target, 2, 3)