From 3f96cc025d7d7ed8da07ece9f64fbaeb901711aa Mon Sep 17 00:00:00 2001 From: 1080pCat <96908085+1080pCat@users.noreply.github.com> Date: Mon, 27 Jan 2025 11:32:30 +1000 Subject: [PATCH] fixes shadow hand not pulling the mob that cast it if it hits a turf (#28068) --- .../gamemodes/miniantags/demons/shadow_demon/shadow_demon.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/game/gamemodes/miniantags/demons/shadow_demon/shadow_demon.dm b/code/game/gamemodes/miniantags/demons/shadow_demon/shadow_demon.dm index d44adb00d17..25ce0ee4d66 100644 --- a/code/game/gamemodes/miniantags/demons/shadow_demon/shadow_demon.dm +++ b/code/game/gamemodes/miniantags/demons/shadow_demon/shadow_demon.dm @@ -212,12 +212,12 @@ return hit = TRUE // to prevent double hits from the pull . = ..() - if(!.) - return for(var/atom/extinguish_target in range(2, src)) extinguish_target.extinguish_light(TRUE) if(!isliving(target)) firer.throw_at(get_step(target, get_dir(target, firer)), 50, 10) + if(!.) + return else var/mob/living/L = target L.Immobilize(2 SECONDS)