From 7675cb1bdf2c20798c4b508993e4922ca6292e4a Mon Sep 17 00:00:00 2001 From: "Marcus D. Johnston" <93160383+Aurrain@users.noreply.github.com> Date: Wed, 17 Apr 2024 08:42:05 -0700 Subject: [PATCH] Ultradense - Mobs Only (#91) --- 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)