fixes shadow hand not pulling the mob that cast it if it hits a turf (#28068)

This commit is contained in:
1080pCat
2025-01-27 01:32:30 +00:00
committed by GitHub
parent 8f3e2e34b7
commit 3f96cc025d
@@ -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)